feat: 메인 홈
- 인기 크리에이터 UI 추가
This commit is contained in:
BIN
app/src/main/res/drawable-mdpi/rank1.png
Normal file
BIN
app/src/main/res/drawable-mdpi/rank1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
BIN
app/src/main/res/drawable-mdpi/rank2.png
Normal file
BIN
app/src/main/res/drawable-mdpi/rank2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
app/src/main/res/drawable-mdpi/rank3.png
Normal file
BIN
app/src/main/res/drawable-mdpi/rank3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
9
app/src/main/res/drawable/bg_home_creator.xml
Normal file
9
app/src/main/res/drawable/bg_home_creator.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="16dp" />
|
||||
<gradient
|
||||
android:angle="-45"
|
||||
android:endColor="#2A339D"
|
||||
android:startColor="#5ACDE1"
|
||||
android:type="linear" />
|
||||
</shape>
|
||||
58
app/src/main/res/layout/item_home_creator.xml
Normal file
58
app/src/main/res/layout/item_home_creator.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="133dp"
|
||||
android:layout_height="188dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/bg_home_creator"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_profile"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
android:contentDescription="@null" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_nickname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:fontFamily="@font/pretendard_regular"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18sp"
|
||||
tools:text="도화" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:fontFamily="@font/pretendard_regular"
|
||||
android:text="팔로워"
|
||||
android:textColor="#78909C"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_follower"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:fontFamily="@font/pretendard_regular"
|
||||
android:textColor="#78909C"
|
||||
android:textSize="14sp"
|
||||
tools:text="111" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_crown"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:contentDescription="@null"
|
||||
tools:src="@drawable/rank1" />
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user