-
Notifications
You must be signed in to change notification settings - Fork 0
Feat : 웹 뷰 디자인 수정 및 개인정보 처리방침,문의하기 웹 뷰로 출력 #279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
huiwoo-jo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다!
리뷰 확인 부탁드려요🙇♂️
|
|
||
| fun newIntent(context: Context, url: String): Intent { | ||
| return Intent(context, WebActivity::class.java).apply { | ||
| putExtra(KEY_URL, url) | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
연속 클릭 시 WebActivity가 여러 번 열릴 가능성이 있어 방지하는 부분이 있으면 좋을 것 같아요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
카카오톡으로 보내드렸던 자료 첨부합니당
https://ju-hy.tistory.com/46
| override fun initDataBinding() { | ||
| } | ||
|
|
||
| override fun initAfterBinding() { | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
컨벤션 맞춰주세요!
| override fun initDataBinding() { | |
| } | |
| override fun initAfterBinding() { | |
| } | |
| override fun initDataBinding() = Unit | |
| override fun initAfterBinding() = Unit |
| <?xml version="1.0" encoding="utf-8"?> | ||
| <layout xmlns:app="http://schemas.android.com/apk/res-auto"> | ||
|
|
||
| <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="match_parent"> | ||
|
|
||
| <androidx.constraintlayout.widget.ConstraintLayout | ||
| android:id="@+id/cl_web_top" | ||
| android:layout_width="0dp" | ||
| android:layout_height="wrap_content" | ||
| app:layout_constraintEnd_toEndOf="parent" | ||
| app:layout_constraintStart_toStartOf="parent" | ||
| app:layout_constraintTop_toTopOf="parent"> | ||
|
|
||
| <ImageView | ||
| android:id="@+id/btn_web_close" | ||
| android:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:layout_marginVertical="4dp" | ||
| android:layout_marginEnd="16dp" | ||
| android:clickable="true" | ||
| android:contentDescription="@null" | ||
| android:focusable="true" | ||
| android:padding="8dp" | ||
| android:src="@drawable/ic_close" | ||
| app:layout_constraintBottom_toBottomOf="parent" | ||
| app:layout_constraintEnd_toEndOf="parent" | ||
| app:layout_constraintTop_toTopOf="parent" /> | ||
|
|
||
| </androidx.constraintlayout.widget.ConstraintLayout> | ||
|
|
||
| <WebView | ||
| android:id="@+id/wv_web" | ||
| android:layout_width="0dp" | ||
| android:layout_height="0dp" | ||
| app:layout_constraintBottom_toBottomOf="parent" | ||
| app:layout_constraintEnd_toEndOf="parent" | ||
| app:layout_constraintStart_toStartOf="parent" | ||
| app:layout_constraintTop_toBottomOf="@id/cl_web_top" /> | ||
|
|
||
| </androidx.constraintlayout.widget.ConstraintLayout> | ||
| </layout> No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이렇게 수정하면 ConstaintLayout을 두개를 쓸 필요가 없을거 같은데 두개를 쓰신 이유가 따로 있나요?
| <?xml version="1.0" encoding="utf-8"?> | |
| <layout xmlns:app="http://schemas.android.com/apk/res-auto"> | |
| <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <androidx.constraintlayout.widget.ConstraintLayout | |
| android:id="@+id/cl_web_top" | |
| android:layout_width="0dp" | |
| android:layout_height="wrap_content" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintTop_toTopOf="parent"> | |
| <ImageView | |
| android:id="@+id/btn_web_close" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_marginVertical="4dp" | |
| android:layout_marginEnd="16dp" | |
| android:clickable="true" | |
| android:contentDescription="@null" | |
| android:focusable="true" | |
| android:padding="8dp" | |
| android:src="@drawable/ic_close" | |
| app:layout_constraintBottom_toBottomOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintTop_toTopOf="parent" /> | |
| </androidx.constraintlayout.widget.ConstraintLayout> | |
| <WebView | |
| android:id="@+id/wv_web" | |
| android:layout_width="0dp" | |
| android:layout_height="0dp" | |
| app:layout_constraintBottom_toBottomOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintTop_toBottomOf="@id/cl_web_top" /> | |
| </androidx.constraintlayout.widget.ConstraintLayout> | |
| </layout> | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <layout xmlns:app="http://schemas.android.com/apk/res-auto"> | |
| <androidx.constraintlayout.widget.ConstraintLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <ImageView | |
| android:id="@+id/btn_web_close" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_marginVertical="4dp" | |
| android:layout_marginEnd="16dp" | |
| android:clickable="true" | |
| android:contentDescription="@null" | |
| android:focusable="true" | |
| android:padding="8dp" | |
| android:src="@drawable/ic_close" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintTop_toTopOf="parent" /> | |
| <WebView | |
| android:id="@+id/wv_web" | |
| android:layout_width="0dp" | |
| android:layout_height="0dp" | |
| app:layout_constraintBottom_toBottomOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintTop_toBottomOf="@id/btn_web_close" /> | |
| </androidx.constraintlayout.widget.ConstraintLayout> | |
| </layout> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ㅇ�오 아뇨 ㅎ 복붙해와서 그런 것 같아요 감사합니다 👍
huiwoo-jo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
머지합시다🚀
📮 관련 이슈
✍️ 구현 내용
📷 구현 영상
✔️ 확인 사항