Skip to content

Conversation

@m6z1
Copy link
Member

@m6z1 m6z1 commented Feb 15, 2025

📮 관련 이슈

✍️ 구현 내용

  • 공지사항 웹 뷰의 닫기 버튼을 우측으로 이동했습니다.
  • 개인정보처리방침, 문의하기 버튼 클릭 시 외부 페이지가 아닌 웹 뷰를 이용합니다.

📷 구현 영상

스크린샷 2025-02-15 오후 8 15 10 스크린샷 2025-02-15 오후 8 15 14 스크린샷 2025-02-15 오후 8 03 00

✔️ 확인 사항

  • 컨벤션에 맞는 PR 타이틀
  • 관련 이슈 연결
  • PR 관련 정보 연결 (작업자, 라벨, 마일스톤 등)
  • Github Action 통과

@m6z1 m6z1 added 🤗 FEATURE Develop this project 💛명지 labels Feb 15, 2025
@m6z1 m6z1 requested a review from huiwoo-jo February 15, 2025 11:16
@m6z1 m6z1 self-assigned this Feb 15, 2025
@m6z1 m6z1 changed the title 웹 뷰 디자인 수정 및 개인정보 처리방침,문의하기 웹 뷰로 출력 Feat : 웹 뷰 디자인 수정 및 개인정보 처리방침,문의하기 웹 뷰로 출력 Feb 15, 2025
Copy link
Contributor

@huiwoo-jo huiwoo-jo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!
리뷰 확인 부탁드려요🙇‍♂️

Comment on lines 31 to 37

fun newIntent(context: Context, url: String): Intent {
return Intent(context, WebActivity::class.java).apply {
putExtra(KEY_URL, url)
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

연속 클릭 시 WebActivity가 여러 번 열릴 가능성이 있어 방지하는 부분이 있으면 좋을 것 같아요

Copy link
Contributor

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

Comment on lines 23 to 27
override fun initDataBinding() {
}

override fun initAfterBinding() {
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

컨벤션 맞춰주세요!

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이렇게 수정하면 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>

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ㅇ�오 아뇨 ㅎ 복붙해와서 그런 것 같아요 감사합니다 👍

Copy link
Contributor

@huiwoo-jo huiwoo-jo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

머지합시다🚀

@m6z1 m6z1 merged commit 4f6b788 into develop Feb 17, 2025
1 check passed
@m6z1 m6z1 deleted the feat/redesign-webview branch February 17, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💛명지 🤗 FEATURE Develop this project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

웹 뷰 디자인 수정

3 participants