feat(home): 최근 활동 크리에이터 카드를 정리한다

This commit is contained in:
2026-06-02 16:23:21 +09:00
parent cfa297ac3f
commit 14e7b33b63
3 changed files with 81 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/gray_900" />
<corners android:radius="100dp" />
</shape>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/gray_700" />
<corners android:radius="@dimen/radius_4" />
</shape>

View File

@@ -0,0 +1,71 @@
<?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="244dp"
android:layout_height="76dp"
android:background="@drawable/bg_home_recent_activity_card"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="@dimen/spacing_12">
<ImageView
android:id="@+id/iv_home_recent_activity_creator_profile"
android:layout_width="52dp"
android:layout_height="52dp"
android:background="@drawable/bg_round_corner_999_263238"
android:contentDescription="@null"
android:scaleType="centerCrop"
tools:src="@drawable/ic_launcher_background" />
<LinearLayout
android:layout_width="159dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_8"
android:orientation="vertical">
<TextView
android:id="@+id/tv_home_recent_activity_nickname"
android:layout_width="147dp"
android:layout_height="wrap_content"
android:ellipsize="end"
android:fontFamily="@font/bold"
android:includeFontPadding="false"
android:maxLines="1"
android:textColor="@color/white"
android:textSize="18sp"
tools:text="크리에이터이름" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_6"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_home_recent_activity_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bg_home_recent_activity_type"
android:fontFamily="@font/regular"
android:includeFontPadding="false"
android:paddingHorizontal="@dimen/spacing_4"
android:paddingVertical="2dp"
android:textColor="@color/gray_100"
android:textSize="12sp"
tools:text="라이브" />
<TextView
android:id="@+id/tv_home_recent_activity_title"
style="@style/Typography.Body5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_8"
android:ellipsize="end"
android:includeFontPadding="false"
android:maxLines="1"
android:textColor="@color/gray_500"
tools:text="3분 전" />
</LinearLayout>
</LinearLayout>
</LinearLayout>