feat(gift): 선물함 카드 레이아웃을 추가한다

This commit is contained in:
2026-10-01 21:18:42 +09:00
parent 9b03d71e1b
commit 70582b5ed2
2 changed files with 140 additions and 0 deletions
@@ -0,0 +1,70 @@
<?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_marginBottom="@dimen/spacing_8"
android:background="@drawable/bg_creator_channel_fantalk_reply"
android:foreground="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:orientation="vertical"
android:padding="@dimen/spacing_14">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:id="@+id/counterpart_profile_image"
android:layout_width="@dimen/spacing_20"
android:layout_height="@dimen/spacing_20"
android:contentDescription="@null"
android:src="@drawable/ic_placeholder_profile" />
<TextView
android:id="@+id/counterpart_nickname"
style="@style/Typography.Caption3"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_4"
android:layout_weight="1"
android:textColor="@color/white" />
<TextView
android:id="@+id/date"
style="@style/Typography.Caption3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/gray_500" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_14"
android:minHeight="@dimen/gift_inbox_avatar_size"
android:gravity="center_vertical"
android:orientation="horizontal">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/status"
style="@style/Typography.Body4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/white" />
<TextView
android:id="@+id/subtitle"
style="@style/Typography.Caption3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_4"
android:textColor="@color/gray_500" />
</LinearLayout>
<ImageView
android:layout_width="@dimen/spacing_20"
android:layout_height="@dimen/spacing_20"
android:contentDescription="@null"
android:src="@drawable/ic_chevron_right" />
</LinearLayout>
</LinearLayout>
@@ -0,0 +1,70 @@
<?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_marginBottom="@dimen/spacing_8"
android:background="@drawable/bg_creator_channel_fantalk_reply"
android:foreground="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:orientation="vertical"
android:padding="@dimen/spacing_14">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/status"
style="@style/Typography.Body4"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/white" />
<TextView
android:id="@+id/date"
style="@style/Typography.Caption3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_8"
android:textColor="@color/gray_500" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_14"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:id="@+id/counterpart_profile_image"
android:layout_width="@dimen/gift_inbox_avatar_size"
android:layout_height="@dimen/gift_inbox_avatar_size"
android:contentDescription="@null"
android:src="@drawable/ic_placeholder_profile" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_12"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/counterpart_nickname"
style="@style/Typography.Body4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/white" />
<TextView
android:id="@+id/details"
style="@style/Typography.Caption3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_4"
android:textColor="@color/gray_500" />
</LinearLayout>
<ImageView
android:layout_width="@dimen/spacing_20"
android:layout_height="@dimen/spacing_20"
android:contentDescription="@null"
android:src="@drawable/ic_chevron_right" />
</LinearLayout>
</LinearLayout>