feat(creator): 채널 후원 empty 리소스를 추가한다
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="100dp" />
|
||||
</shape>
|
||||
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/black"
|
||||
@@ -28,6 +29,55 @@
|
||||
android:orientation="horizontal" />
|
||||
</HorizontalScrollView>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_donation_empty"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="196dp"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:layout_marginTop="@dimen/spacing_14"
|
||||
android:background="@drawable/bg_feed_card"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/spacing_20"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_donation_empty_title"
|
||||
style="@style/Typography.Heading1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:includeFontPadding="false"
|
||||
android:text="@string/creator_channel_donation_empty_title"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_donation_empty_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginTop="42dp"
|
||||
android:background="@drawable/bg_creator_channel_donation_empty_button"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/spacing_20"
|
||||
android:layout_height="@dimen/spacing_20"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/ic_new_donation"
|
||||
android:tint="@color/black" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="@dimen/spacing_6"
|
||||
android:gravity="center"
|
||||
android:text="@string/creator_channel_donation_button"
|
||||
android:textColor="@color/black" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_donation_button"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -316,6 +316,8 @@
|
||||
<string name="creator_channel_activity_series_count_format">%1$d series</string>
|
||||
<string name="creator_channel_more_ready">Coming soon.</string>
|
||||
<string name="creator_channel_donation_button">Support</string>
|
||||
<string name="creator_channel_donation_empty_title">Be the first to\nsupport this creator!</string>
|
||||
<string name="creator_channel_donation_empty_owner_title">No donation history yet.</string>
|
||||
<string name="creator_channel_donation_can_format">%1$s cans</string>
|
||||
<string name="creator_channel_donation_fallback_message">Supported with %1$d cans.</string>
|
||||
<!-- Original detail -->
|
||||
|
||||
@@ -316,6 +316,8 @@
|
||||
<string name="creator_channel_activity_series_count_format">%1$d件</string>
|
||||
<string name="creator_channel_more_ready">準備中です。</string>
|
||||
<string name="creator_channel_donation_button">応援する</string>
|
||||
<string name="creator_channel_donation_empty_title">最初にクリエイターを\n応援してみましょう!</string>
|
||||
<string name="creator_channel_donation_empty_owner_title">応援履歴がありません</string>
|
||||
<string name="creator_channel_donation_can_format">%1$sCAN</string>
|
||||
<string name="creator_channel_donation_fallback_message">%1$dCANを応援しました。</string>
|
||||
<!-- Original detail -->
|
||||
|
||||
@@ -315,6 +315,8 @@
|
||||
<string name="creator_channel_activity_series_count_format">%1$d개</string>
|
||||
<string name="creator_channel_more_ready">준비 중입니다.</string>
|
||||
<string name="creator_channel_donation_button">후원하기</string>
|
||||
<string name="creator_channel_donation_empty_title">처음으로 크리에이터를\n후원해 보세요!</string>
|
||||
<string name="creator_channel_donation_empty_owner_title">후원 내역이 없습니다</string>
|
||||
<string name="creator_channel_donation_can_format">%1$s캔</string>
|
||||
<string name="creator_channel_donation_fallback_message">%1$d캔을 후원하였습니다.</string>
|
||||
<!-- Original detail -->
|
||||
|
||||
Reference in New Issue
Block a user