Feat : 웹 뷰 디자인 수정 및 개인정보 처리방침,문의하기 웹 뷰로 출력#279
Merged
Conversation
huiwoo-jo
requested changes
Feb 17, 2025
Contributor
huiwoo-jo
left a comment
There was a problem hiding this comment.
수고하셨습니다!
리뷰 확인 부탁드려요🙇♂️
Comment on lines
31
to
37
|
|
||
| fun newIntent(context: Context, url: String): Intent { | ||
| return Intent(context, WebActivity::class.java).apply { | ||
| putExtra(KEY_URL, url) | ||
| } | ||
| } | ||
| } |
Contributor
There was a problem hiding this comment.
연속 클릭 시 WebActivity가 여러 번 열릴 가능성이 있어 방지하는 부분이 있으면 좋을 것 같아요
Contributor
There was a problem hiding this comment.
카카오톡으로 보내드렸던 자료 첨부합니당
https://ju-hy.tistory.com/46
Comment on lines
23
to
27
| override fun initDataBinding() { | ||
| } | ||
|
|
||
| override fun initAfterBinding() { | ||
| } |
Contributor
There was a problem hiding this comment.
컨벤션 맞춰주세요!
Suggested change
| override fun initDataBinding() { | |
| } | |
| override fun initAfterBinding() { | |
| } | |
| override fun initDataBinding() = Unit | |
| override fun initAfterBinding() = Unit |
Comment on lines
1
to
43
| <?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 |
Contributor
There was a problem hiding this comment.
이렇게 수정하면 ConstaintLayout을 두개를 쓸 필요가 없을거 같은데 두개를 쓰신 이유가 따로 있나요?
Suggested change
| <?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> |
Member
Author
There was a problem hiding this comment.
ㅇ�오 아뇨 ㅎ 복붙해와서 그런 것 같아요 감사합니다 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📮 관련 이슈
✍️ 구현 내용
📷 구현 영상
✔️ 확인 사항