feat(character-comment): 신고 BottomSheet 추가 및 삭제 확인 팝업 도입

- 신고 BottomSheet(제목/단일선택 리스트/신고 버튼) 구현 및 더보기→신고 흐름 연동
- 삭제 버튼 클릭 시 확인 다이얼로그 표시 후 확정 시 리스트에서 제거
- 신고/삭제 API 호출부는 스텁으로 남겨둠(후속 연동 예정)
This commit is contained in:
2025-08-20 01:20:12 +09:00
parent d4ec2fbdef
commit 52ff0c82cb
6 changed files with 208 additions and 12 deletions

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/color_131313"
android:orientation="vertical"
android:padding="16dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/report_title"
android:textColor="@color/white"
android:textSize="16sp"
android:textStyle="bold"
tools:ignore="RelativeOverlap" />
<ImageView
android:id="@+id/iv_close"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentEnd="true"
android:contentDescription="@null"
android:src="@drawable/ic_circle_x_white" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="12dp"
android:background="#78909C" />
<LinearLayout
android:id="@+id/ll_reason_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:orientation="vertical" />
<Button
android:id="@+id/btn_report"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginTop="16dp"
android:backgroundTint="@color/color_3bb9f1"
android:enabled="false"
android:text="@string/report_button"
android:textColor="@color/white" />
</LinearLayout>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingVertical="12dp">
<TextView
android:id="@+id/tv_reason"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/white"
android:textSize="15sp"
android:text=""/>
<ImageView
android:id="@+id/iv_check"
android:layout_width="20dp"
android:layout_height="20dp"
android:contentDescription="@null"
android:src="@android:drawable/checkbox_on_background"
android:visibility="gone"/>
</LinearLayout>

View File

@@ -34,4 +34,12 @@
<string name="status_sending">전송 중</string>
<string name="status_failed">전송 실패</string>
<string name="status_sent">전송 완료</string>
<!-- Character comment report strings -->
<string name="report_title">신고</string>
<string name="report_button">신고</string>
<string name="confirm_delete_title">삭제</string>
<string name="confirm_delete_message">삭제 하시겠습니까?</string>
<string name="confirm">확인</string>
<string name="cancel">취소</string>
</resources>