feat(gift): 선물 상세 화면 레이아웃을 추가한다

This commit is contained in:
2026-10-02 18:31:59 +09:00
parent 4e4aca06a9
commit a3228f0d27
2 changed files with 324 additions and 0 deletions
@@ -0,0 +1,309 @@
<?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="match_parent"
android:background="@color/black"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingVertical="@dimen/spacing_4">
<ImageButton
android:id="@+id/btn_back"
android:layout_width="@dimen/spacing_48"
android:layout_height="@dimen/spacing_48"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/a11y_back"
android:src="@drawable/ic_new_bar_back" />
<TextView
android:id="@+id/header"
style="@style/Typography.Heading4"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="@font/medium"
android:text="@string/gift_detail_title"
android:textColor="@color/white" />
<ImageButton
android:id="@+id/close"
android:layout_width="@dimen/spacing_48"
android:layout_height="@dimen/spacing_48"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/a11y_close"
android:src="@drawable/ic_close_white"
android:visibility="gone" />
</LinearLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<androidx.core.widget.NestedScrollView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingHorizontal="@dimen/spacing_14"
android:paddingTop="@dimen/spacing_24"
android:paddingBottom="@dimen/spacing_48">
<ImageView
android:id="@+id/hero_illustration"
android:layout_width="@dimen/spacing_48"
android:layout_height="@dimen/spacing_48"
android:layout_gravity="start"
android:contentDescription="@null"
android:src="@drawable/ic_gift_inbox_present" />
<TextView
android:id="@+id/hero_chip"
style="@style/Typography.Body5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:layout_marginTop="@dimen/spacing_14"
android:background="@drawable/bg_creator_channel_fantalk_reply"
android:paddingHorizontal="@dimen/spacing_12"
android:paddingVertical="@dimen/spacing_6"
android:textColor="@color/soda_400" />
<TextView
android:id="@+id/hero_title"
style="@style/Typography.Heading2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_14"
android:gravity="start"
android:textColor="@color/white" />
<TextView
android:id="@+id/hero_body"
style="@style/Typography.Body6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_8"
android:gravity="start"
android:textColor="@color/gray_400" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/timeline"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_24"
android:nestedScrollingEnabled="false" />
<Button
android:id="@+id/undeliverable_inquiry"
style="@style/Typography.Body5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_24"
android:background="@drawable/bg_creator_channel_outline_button"
android:minHeight="@dimen/spacing_48"
android:paddingHorizontal="@dimen/spacing_14"
android:text="@string/gift_inbox_inquiry"
android:textAllCaps="false"
android:textColor="@color/white"
android:visibility="gone" />
<LinearLayout
android:id="@+id/normal_sections"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:id="@+id/undeliverable"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_24"
android:background="@drawable/bg_creator_channel_fantalk_reply"
android:orientation="vertical"
android:padding="@dimen/spacing_14">
<TextView
android:id="@+id/undeliverable_reason"
style="@style/Typography.Body1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/white" />
<TextView
android:id="@+id/undeliverable_guidance"
style="@style/Typography.Body6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_12"
android:textColor="@color/gray_400" />
</LinearLayout>
<LinearLayout
android:id="@+id/mailbox_section"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_24"
android:orientation="vertical">
<TextView
style="@style/Typography.Body1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/gift_tracking_destination"
android:textColor="@color/white" />
<LinearLayout
android:id="@+id/mailbox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_12"
android:background="@drawable/bg_creator_channel_fantalk_reply"
android:orientation="vertical"
android:padding="@dimen/spacing_14" />
</LinearLayout>
<TextView
android:id="@+id/registration_guidance"
style="@style/Typography.Body6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_24"
android:text="@string/gift_tracking_guidance"
android:textColor="@color/gray_400" />
<View
android:id="@+id/section_separator"
android:layout_width="match_parent"
android:layout_height="7dp"
android:layout_marginHorizontal="-14dp"
android:layout_marginTop="@dimen/spacing_24"
android:background="#121212" />
<TextView
style="@style/Typography.Body1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_24"
android:text="@string/gift_detail_info"
android:textColor="@color/white" />
<LinearLayout
android:id="@+id/gift_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_12"
android:background="@drawable/bg_creator_channel_fantalk_reply"
android:orientation="vertical"
android:padding="@dimen/spacing_14" />
<LinearLayout
android:id="@+id/sender_section"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_24"
android:orientation="vertical">
<TextView
style="@style/Typography.Body1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/gift_send_sender"
android:textColor="@color/white" />
<LinearLayout
android:id="@+id/sender_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_12"
android:background="@drawable/bg_creator_channel_fantalk_reply"
android:orientation="vertical"
android:padding="@dimen/spacing_14" />
</LinearLayout>
<LinearLayout
android:id="@+id/recipient_section"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_24"
android:orientation="vertical">
<TextView
style="@style/Typography.Body1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/gift_detail_recipient_address"
android:textColor="@color/white" />
<LinearLayout
android:id="@+id/recipient_address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_12"
android:background="@drawable/bg_creator_channel_fantalk_reply"
android:orientation="vertical"
android:padding="@dimen/spacing_14" />
</LinearLayout>
</LinearLayout>
<include
android:id="@+id/canceled_completion"
layout="@layout/include_gift_canceled_completion" />
<Button
android:id="@+id/cancel"
style="@style/Typography.Body5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_24"
android:background="@drawable/bg_creator_channel_live_retry"
android:backgroundTint="@color/gray_800"
android:minHeight="@dimen/spacing_48"
android:text="@string/gift_inbox_canceled"
android:textAllCaps="false"
android:textColor="@color/white" />
<Button
android:id="@+id/inquiry"
style="@style/Typography.Body5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/spacing_24"
android:background="@drawable/bg_creator_channel_outline_button"
android:minHeight="@dimen/spacing_48"
android:paddingHorizontal="@dimen/spacing_20"
android:text="@string/gift_inbox_inquiry"
android:textAllCaps="false"
android:textColor="@color/white" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<ProgressBar
android:id="@+id/progress"
android:layout_width="@dimen/spacing_48"
android:layout_height="@dimen/spacing_48"
android:layout_gravity="center"
android:indeterminateTint="@color/soda_400" />
<LinearLayout
android:id="@+id/error"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:orientation="vertical"
android:padding="@dimen/spacing_24"
android:visibility="gone">
<TextView
android:id="@+id/error_message"
style="@style/Typography.Body3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="@color/gray_500" />
<Button
android:id="@+id/retry"
style="@style/Typography.Body5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_14"
android:background="@drawable/bg_creator_channel_live_retry"
android:backgroundTint="@color/gray_800"
android:minHeight="@dimen/spacing_48"
android:paddingHorizontal="@dimen/spacing_20"
android:text="@string/gift_inbox_retry"
android:textAllCaps="false"
android:textColor="@color/white" />
</LinearLayout>
</FrameLayout>
<Button
android:id="@+id/tracking"
style="@style/Typography.Body5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/spacing_14"
android:layout_marginVertical="@dimen/spacing_12"
android:background="@drawable/bg_creator_channel_live_retry"
android:backgroundTint="@color/soda_400"
android:minHeight="@dimen/spacing_48"
android:text="@string/gift_detail_tracking_action"
android:textAllCaps="false"
android:textColor="@color/black"
android:visibility="gone" />
</LinearLayout>
@@ -0,0 +1,15 @@
<?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:layout_marginTop="@dimen/spacing_24"
android:orientation="vertical"
android:visibility="gone">
<LinearLayout
android:id="@+id/details"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_creator_channel_fantalk_reply"
android:orientation="vertical"
android:padding="@dimen/spacing_14" />
</LinearLayout>