feat(character-detail): 캐릭터 상세
- 탭 UI 추가
This commit is contained in:
@@ -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"
|
||||
|
||||
9
app/src/main/res/layout/fragment_character_detail.xml
Normal file
9
app/src/main/res/layout/fragment_character_detail.xml
Normal 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>
|
||||
17
app/src/main/res/layout/fragment_character_gallery.xml
Normal file
17
app/src/main/res/layout/fragment_character_gallery.xml
Normal 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>
|
||||
Reference in New Issue
Block a user