fix(character-detail): 캐릭터 정보 추가
- mbti, 나이, 성별 추가
This commit is contained in:
9
app/src/main/res/drawable/bg_character_gender_female.xml
Normal file
9
app/src/main/res/drawable/bg_character_gender_female.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#263238" />
|
||||
<corners android:radius="4dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_ff5c49" />
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/bg_character_gender_male.xml
Normal file
9
app/src/main/res/drawable/bg_character_gender_male.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#263238" />
|
||||
<corners android:radius="4dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_3bb9f1" />
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/bg_character_info.xml
Normal file
9
app/src/main/res/drawable/bg_character_info.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#263238" />
|
||||
<corners android:radius="4dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_88ffffff" />
|
||||
</shape>
|
||||
@@ -59,6 +59,48 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_gender_age_mbti"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_gender"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/pretendard_regular"
|
||||
android:paddingHorizontal="7dp"
|
||||
android:paddingVertical="3dp"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_age"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="4dp"
|
||||
android:background="@drawable/bg_character_info"
|
||||
android:fontFamily="@font/pretendard_regular"
|
||||
android:paddingHorizontal="7dp"
|
||||
android:paddingVertical="3dp"
|
||||
android:textColor="#B0BEC5"
|
||||
android:textSize="14sp"
|
||||
tools:text="20세" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_mbti"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_character_info"
|
||||
android:fontFamily="@font/pretendard_regular"
|
||||
android:paddingHorizontal="7dp"
|
||||
android:paddingVertical="3dp"
|
||||
android:textColor="#B0BEC5"
|
||||
android:textSize="14sp"
|
||||
tools:text="ENFP" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 캐릭터명과 상태 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_character_name_status"
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
<color name="color_333bb9f1">#333BB9F1</color>
|
||||
<color name="color_672bff">#672BFF</color>
|
||||
<color name="color_ccffffff">#CCFFFFFF</color>
|
||||
<color name="color_88ffffff">#88FFFFFF</color>
|
||||
<color name="color_cc777777">#CC777777</color>
|
||||
<color name="color_ec3aa6">#EC3AA6</color>
|
||||
<color name="color_7849bc">#7849BC</color>
|
||||
|
||||
Reference in New Issue
Block a user