feat(home): 장르 크리에이터 페이지 리소스를 추가한다

This commit is contained in:
2026-06-04 19:37:56 +09:00
parent c436866a51
commit c714a9d4c8
7 changed files with 121 additions and 34 deletions
@@ -165,42 +165,14 @@
android:layout_marginTop="@dimen/spacing_48"
android:orientation="vertical">
<LinearLayout
android:id="@+id/ll_home_genre_creator_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingHorizontal="@dimen/spacing_20">
<TextView
android:id="@+id/tv_home_genre_creator_title_genre"
style="@style/Typography.Heading3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/color_3bb9f1"
tools:text="로맨스" />
<TextView
android:id="@+id/tv_home_genre_creator_title_suffix"
style="@style/Typography.Heading3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/home_recommendation_section_genre_creator_suffix"
android:textColor="@color/white" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
<kr.co.vividnext.sodalive.v2.main.home.ui.HomePagerSnapRecyclerView
android:id="@+id/rv_home_genre_creators"
android:layout_width="match_parent"
android:layout_height="160dp"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:orientation="horizontal"
android:paddingHorizontal="@dimen/spacing_20"
android:paddingHorizontal="@dimen/spacing_14"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
<include
android:id="@+id/view_home_genre_follow_all"
layout="@layout/view_home_follow_all_button" />
</LinearLayout>
<LinearLayout
@@ -0,0 +1,49 @@
<?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="@drawable/bg_home_genre_creator_group"
android:orientation="vertical"
android:padding="@dimen/spacing_14">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="24dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_home_genre_creator_group_title_genre"
style="@style/Typography.Heading3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:textColor="@color/color_3bb9f1"
tools:text="장르" />
<TextView
android:id="@+id/tv_home_genre_creator_group_title_suffix"
style="@style/Typography.Heading3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:text="@string/home_recommendation_section_genre_creator_suffix"
android:textColor="@color/white" />
</LinearLayout>
<GridLayout
android:id="@+id/gl_home_genre_creator_profiles"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_14"
android:columnCount="4"
android:rowCount="2" />
<include
android:id="@+id/view_home_genre_group_follow_all"
layout="@layout/view_home_follow_all_button"
android:layout_width="match_parent"
android:layout_height="44dp"
android:layout_marginTop="@dimen/spacing_14" />
</LinearLayout>
@@ -0,0 +1,38 @@
<?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="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/iv_home_genre_creator_profile"
android:layout_width="0dp"
android:layout_height="0dp"
android:background="@drawable/bg_round_corner_999_263238"
android:contentDescription="@null"
android:scaleType="centerCrop"
app:layout_constraintDimensionRatio="1:1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@drawable/ic_launcher_background" />
<TextView
android:id="@+id/tv_home_genre_creator_profile_nickname"
style="@style/Typography.Body5"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_6"
android:ellipsize="end"
android:gravity="center"
android:includeFontPadding="false"
android:maxLines="1"
android:textColor="@color/white"
android:textSize="14sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/iv_home_genre_creator_profile"
tools:text="크리에이터이름" />
</androidx.constraintlayout.widget.ConstraintLayout>