feat(creator): 채널 홈 Activity 진입점을 추가한다

This commit is contained in:
2026-06-15 13:20:11 +09:00
parent 402ea5e9c0
commit a631aa1b65
4 changed files with 490 additions and 1 deletions

View File

@@ -0,0 +1,225 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black">
<androidx.core.widget.NestedScrollView
android:id="@+id/nested_scroll_view"
android:layout_width="0dp"
android:layout_height="0dp"
android:fillViewport="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<FrameLayout
android:id="@+id/header_container"
android:layout_width="match_parent"
android:layout_height="402dp">
<ImageView
android:id="@+id/iv_header_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_222222"
android:contentDescription="@null"
android:scaleType="centerCrop"
tools:src="@drawable/ic_placeholder_profile" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg_creator_channel_header_gradient_bottom" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg_creator_channel_header_gradient_top" />
<LinearLayout
android:id="@+id/header_text_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingHorizontal="@dimen/spacing_20"
android:paddingBottom="@dimen/spacing_14">
<TextView
android:id="@+id/tv_follower_count"
style="@style/Typography.Body2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
tools:text="팔로워 82명" />
<TextView
android:id="@+id/tv_nickname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:fontFamily="@font/bold"
android:gravity="center"
android:maxLines="2"
android:textColor="@color/white"
android:textSize="32sp"
tools:text="크리에이터 이름" />
<LinearLayout
android:id="@+id/action_button_container"
android:layout_width="match_parent"
android:layout_height="64dp"
android:gravity="center"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_chat_button"
style="@style/Typography.Body2"
android:layout_width="wrap_content"
android:layout_height="44dp"
android:background="@drawable/bg_creator_channel_outline_button"
android:drawableStart="@drawable/ic_new_talk"
android:drawablePadding="@dimen/spacing_6"
android:gravity="center"
android:minWidth="108dp"
android:paddingHorizontal="@dimen/spacing_12"
android:text="@string/creator_channel_chat_button"
android:textColor="@color/white" />
<TextView
android:id="@+id/tv_dm_button"
style="@style/Typography.Body2"
android:layout_width="wrap_content"
android:layout_height="44dp"
android:layout_marginStart="@dimen/spacing_6"
android:background="@drawable/bg_creator_channel_outline_button"
android:drawableStart="@drawable/ic_new_dm"
android:drawablePadding="@dimen/spacing_6"
android:gravity="center"
android:minWidth="108dp"
android:paddingHorizontal="@dimen/spacing_12"
android:text="@string/creator_channel_dm_button"
android:textColor="@color/white" />
</LinearLayout>
</LinearLayout>
</FrameLayout>
<HorizontalScrollView
android:id="@+id/horizontal_tab_scroll_view"
android:layout_width="match_parent"
android:layout_height="52dp"
android:background="@color/black"
android:fillViewport="false"
android:overScrollMode="never"
android:scrollbars="none">
<LinearLayout
android:id="@+id/tab_container"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingHorizontal="@dimen/spacing_20" />
</HorizontalScrollView>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_home_sections"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:nestedScrollingEnabled="false"
android:paddingBottom="@dimen/spacing_32"
tools:itemCount="4"
tools:listitem="@layout/item_creator_channel_home_audio" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/title_bar_container"
android:layout_width="0dp"
android:layout_height="60dp"
android:background="@android:color/transparent"
android:paddingHorizontal="@dimen/spacing_14"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/iv_back"
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@string/a11y_back"
android:src="@drawable/ic_new_bar_back"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@+id/title_action_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent">
<LinearLayout
android:id="@+id/layout_follow_capsule"
android:layout_width="wrap_content"
android:layout_height="36dp"
android:background="@drawable/bg_creator_channel_follow_capsule"
android:gravity="center"
android:orientation="horizontal"
android:paddingHorizontal="@dimen/spacing_8"
android:paddingVertical="@dimen/spacing_8"
tools:background="@drawable/bg_creator_channel_following_capsule">
<ImageView
android:id="@+id/iv_follow"
android:layout_width="20dp"
android:layout_height="20dp"
android:contentDescription="@null"
tools:src="@drawable/ic_new_follow" />
<TextView
android:id="@+id/tv_follow_label"
style="@style/Typography.Body2"
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_marginStart="@dimen/spacing_6"
android:gravity="center"
android:text="@string/creator_channel_follow_button"
android:textColor="@color/white" />
</LinearLayout>
<ImageView
android:id="@+id/iv_bell"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="@dimen/spacing_14"
android:contentDescription="@null"
android:visibility="gone"
tools:src="@drawable/ic_bar_bell"
tools:visibility="visible" />
<ImageView
android:id="@+id/iv_more"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="@dimen/spacing_14"
android:contentDescription="@null"
android:src="@drawable/ic_new_more" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>