feat(character-detail): 캐릭터 상세

- 탭 UI 추가
This commit is contained in:
2025-08-22 03:39:11 +09:00
parent 52c1f61109
commit 989a0f361b
6 changed files with 117 additions and 6 deletions

View File

@@ -11,13 +11,26 @@
android:id="@+id/detail_toolbar"
layout="@layout/detail_toolbar" />
<!-- 메인 스크롤 영역 -->
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/detail_toolbar"
android:background="@color/color_131313"
app:tabIndicatorColor="@color/color_3bb9f1"
app:tabIndicatorFullWidth="true"
app:tabIndicatorHeight="4dp"
app:tabSelectedTextColor="@color/color_3bb9f1"
app:tabTextAppearance="@style/tabText"
app:tabTextColor="@color/color_b0bec5" />
<!-- 메인 스크롤 영역 (상세 탭에서만 표시) -->
<androidx.core.widget.NestedScrollView
android:id="@+id/scroll_view_character_detail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/btn_chat"
android:layout_below="@+id/detail_toolbar"
android:layout_below="@+id/tab_layout"
android:clipToPadding="false"
android:fillViewport="true">
@@ -499,6 +512,15 @@
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<!-- 갤러리 탭 컨테이너 -->
<FrameLayout
android:id="@+id/fl_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/btn_chat"
android:layout_below="@+id/tab_layout"
android:visibility="gone" />
<!-- 하단 고정 대화하기 버튼 -->
<TextView
android:id="@+id/btn_chat"

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_131313">
<!-- TODO: 기존 상세 화면 UI를 이 레이아웃으로 이전 예정 -->
</FrameLayout>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_131313"
android:padding="24dp">
<TextView
android:id="@+id/tv_empty_gallery"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="갤러리 콘텐츠가 없습니다."
android:textColor="@color/white"
android:textSize="16sp"
android:layout_gravity="center" />
</FrameLayout>