feat(creator): 오디오 탭 레이아웃을 추가한다

This commit is contained in:
2026-06-19 19:12:54 +09:00
parent 763a86704c
commit 0b2faf2c6e
7 changed files with 237 additions and 0 deletions

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,201 @@
<?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:background="@color/black">
<include
android:id="@+id/view_creator_channel_audio_theme_tabs"
layout="@layout/view_capsule_tab_bar"
android:layout_width="0dp"
android:layout_height="52dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@+id/layout_creator_channel_audio_sort_bar"
android:layout_width="0dp"
android:layout_height="52dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingHorizontal="@dimen/spacing_14"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/view_creator_channel_audio_theme_tabs">
<TextView
android:id="@+id/tv_creator_channel_audio_total_label"
style="@style/Typography.Body2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:text="@string/creator_channel_audio_total_label"
android:textColor="@color/white" />
<TextView
android:id="@+id/tv_creator_channel_audio_total_count"
style="@style/Typography.Body2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_4"
android:layout_weight="1"
android:includeFontPadding="false"
android:textColor="@color/gray_500"
tools:text="23" />
<LinearLayout
android:id="@+id/layout_creator_channel_audio_sort_button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_creator_channel_audio_sort_label"
style="@style/Typography.Body3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:textColor="@color/gray_400"
tools:text="최신순" />
<ImageView
android:id="@+id/iv_creator_channel_audio_sort"
android:layout_width="18dp"
android:layout_height="18dp"
android:layout_marginStart="@dimen/spacing_4"
android:contentDescription="@null"
android:src="@drawable/ic_new_sort" />
</LinearLayout>
</LinearLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_creator_channel_audio_rate_card"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/spacing_14"
android:background="@drawable/bg_creator_channel_audio_rate_card"
android:padding="@dimen/spacing_14"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/layout_creator_channel_audio_sort_bar">
<TextView
android:id="@+id/tv_creator_channel_audio_rate_message"
style="@style/Typography.Body5"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/spacing_8"
android:ellipsize="end"
android:includeFontPadding="false"
android:maxLines="1"
android:text="@string/creator_channel_audio_owned_rate_message"
android:textColor="@color/white"
app:layout_constraintEnd_toStartOf="@id/tv_creator_channel_audio_rate_count"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="전체 오디오의 28%를 소장하고 있어요." />
<TextView
android:id="@+id/tv_creator_channel_audio_rate_count"
style="@style/Typography.Body5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:maxLines="1"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="@id/tv_creator_channel_audio_rate_message"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/tv_creator_channel_audio_rate_message"
tools:text="12/43개" />
<FrameLayout
android:id="@+id/view_creator_channel_audio_rate_track"
android:layout_width="0dp"
android:layout_height="4dp"
android:layout_marginTop="@dimen/spacing_14"
android:background="@drawable/bg_creator_channel_audio_rate_track"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_creator_channel_audio_rate_message">
<View
android:id="@+id/view_creator_channel_audio_rate_fill"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg_creator_channel_audio_rate_fill" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_creator_channel_audio_contents"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:nestedScrollingEnabled="false"
android:paddingHorizontal="@dimen/spacing_14"
android:paddingTop="@dimen/spacing_20"
android:paddingBottom="@dimen/spacing_32"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/layout_creator_channel_audio_rate_card"
tools:itemCount="3"
tools:listitem="@layout/item_creator_channel_audio_content" />
<FrameLayout
android:id="@+id/layout_creator_channel_audio_empty"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="center"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible">
<TextView
android:id="@+id/tv_creator_channel_audio_empty_message"
style="@style/Typography.Body3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="@string/creator_channel_audio_empty_message"
android:textColor="@color/gray_500" />
</FrameLayout>
<TextView
android:id="@+id/tv_creator_channel_audio_error_message"
style="@style/Typography.Body3"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/creator_channel_audio_error_message"
android:textColor="@color/gray_500"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@id/btn_creator_channel_audio_retry"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/btn_creator_channel_audio_retry"
style="@style/Typography.Body5"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_marginTop="@dimen/spacing_14"
android:background="@drawable/bg_creator_channel_live_retry"
android:gravity="center"
android:minWidth="96dp"
android:paddingHorizontal="@dimen/spacing_20"
android:text="@string/creator_channel_live_retry_button"
android:textColor="@color/white"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_creator_channel_audio_error_message" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -191,6 +191,12 @@
<string name="creator_channel_live_error_message">Could not load live.</string>
<string name="creator_channel_live_retry_button">Retry</string>
<string name="creator_channel_live_start_button">Start live</string>
<string name="creator_channel_audio_empty_message">The creator is preparing audio.\nPlease look forward to it!</string>
<string name="creator_channel_audio_error_message">Could not load audio.</string>
<string name="creator_channel_audio_upload_button">Upload audio</string>
<string name="creator_channel_audio_total_label">All</string>
<string name="creator_channel_audio_owned_rate_message">You own %1$s%% of all audio.</string>
<string name="creator_channel_audio_owned_rate_count">%1$s/%2$s</string>
<string name="auth_title">Identity verification</string>
<string name="auth_desc">VoiceOns Open World Character Chat\nis available only to adults who have completed identity verification to protect minors.\nTo use the character chat service, please complete identity verification.</string>
<string name="auth_desc_live">To protect minors,\nonly adults who have completed identity verification\ncan enter live rooms.\nPlease complete identity verification\nto enter the live room.</string>

View File

@@ -191,6 +191,12 @@
<string name="creator_channel_live_error_message">ライブを読み込めませんでした。</string>
<string name="creator_channel_live_retry_button">再試行</string>
<string name="creator_channel_live_start_button">ライブを始める</string>
<string name="creator_channel_audio_empty_message">クリエイターがオーディオを準備中です。\n楽しみにお待ちください!</string>
<string name="creator_channel_audio_error_message">オーディオを読み込めませんでした。</string>
<string name="creator_channel_audio_upload_button">オーディオを投稿</string>
<string name="creator_channel_audio_total_label">全体</string>
<string name="creator_channel_audio_owned_rate_message">全オーディオの%1$s%%を所持しています。</string>
<string name="creator_channel_audio_owned_rate_count">%1$s/%2$s件</string>
<string name="auth_title">本人確認</string>
<string name="auth_desc">ボイスオンのオープンワールド・キャラトークは、\n青少年保護のため本人確認済みの\n成人の方のみご利用いただけます。\nサービスを利用するには本人確認をお願いします。</string>
<string name="auth_desc_live">青少年保護のため、\n本人確認を完了した成人の方のみ\nライブ入場が可能です。\nライブ入場のために\n本人確認を行ってください。</string>

View File

@@ -190,6 +190,12 @@
<string name="creator_channel_live_error_message">라이브를 불러오지 못했습니다.</string>
<string name="creator_channel_live_retry_button">다시 시도</string>
<string name="creator_channel_live_start_button">라이브 시작하기</string>
<string name="creator_channel_audio_empty_message">크리에이터가 오디오를 준비 중입니다.\n기대해 주세요!</string>
<string name="creator_channel_audio_error_message">오디오를 불러오지 못했습니다.</string>
<string name="creator_channel_audio_upload_button">오디오 올리기</string>
<string name="creator_channel_audio_total_label">전체</string>
<string name="creator_channel_audio_owned_rate_message">전체 오디오의 %1$s%%를 소장하고 있어요.</string>
<string name="creator_channel_audio_owned_rate_count">%1$s/%2$s개</string>
<string name="auth_title">본인인증</string>
<string name="auth_desc">보이스온의 오픈월드 캐릭터톡은\n청소년 보호를 위해 본인인증한\n성인만 이용이 가능합니다.\n캐릭터톡 서비스를 이용하시려면\n본인인증을 하고 이용해주세요.</string>
<string name="auth_desc_live">청소년 보호를 위해\n본인인증을 완료한\n성인만 라이브 입장이 가능합니다.\n라이브 입장을 위해\n본인인증을 진행해 주세요.</string>