feat(gift): 선물 신청 화면을 추가한다
This commit is contained in:
@@ -0,0 +1,472 @@
|
||||
<?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="match_parent"
|
||||
android:background="@color/black"
|
||||
android:focusableInTouchMode="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingVertical="@dimen/spacing_4">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btn_back"
|
||||
android:layout_width="@dimen/spacing_48"
|
||||
android:layout_height="@dimen/spacing_48"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/a11y_back"
|
||||
android:src="@drawable/ic_new_bar_back" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Heading4"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:fontFamily="@font/medium"
|
||||
android:text="@string/gift_send_title"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:fillViewport="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/spacing_14"
|
||||
android:paddingBottom="@dimen/spacing_48">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_reply"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/spacing_14">
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableStart="@drawable/ic_notice_exclamation_mark"
|
||||
android:drawablePadding="@dimen/spacing_6"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/gift_send_guide_title"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Caption3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_8"
|
||||
android:text="@string/gift_send_guide_description"
|
||||
android:textColor="@color/gray_400" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_24"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingVertical="@dimen/spacing_8"
|
||||
android:text="@string/gift_send_recipient"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:layout_marginTop="@dimen/spacing_12"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_reply"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingVertical="@dimen/spacing_12">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="42dp"
|
||||
android:layout_height="42dp"
|
||||
android:contentDescription="@string/a11y_feed_profile_image"
|
||||
android:src="@drawable/bg_placeholder" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_creator_nickname"
|
||||
style="@style/Typography.Body4"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/spacing_8"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/white"
|
||||
tools:text="달빛수집가" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/spacing_8"
|
||||
android:layout_marginVertical="@dimen/spacing_24"
|
||||
android:background="@color/color_111111" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingTop="@dimen/spacing_8"
|
||||
android:text="@string/gift_send_size"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Caption2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_4"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingBottom="@dimen/spacing_8"
|
||||
android:text="@string/gift_send_size_description"
|
||||
android:textColor="@color/gray_300" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_size_options"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:layout_marginTop="@dimen/spacing_12"
|
||||
android:orientation="vertical" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_24"
|
||||
android:labelFor="@id/spinner_category"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingTop="@dimen/spacing_8"
|
||||
android:text="@string/gift_send_category"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Caption2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_4"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingBottom="@dimen/spacing_8"
|
||||
android:text="@string/gift_send_category_description"
|
||||
android:textColor="@color/gray_300" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:layout_marginTop="@dimen/spacing_12"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_reply">
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinner_category"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:backgroundTint="@color/gray_400"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:popupBackground="@color/gray_900"
|
||||
android:spinnerMode="dropdown" />
|
||||
</FrameLayout>
|
||||
|
||||
<android.widget.CheckBox
|
||||
android:id="@+id/cb_damage_loss"
|
||||
style="@style/Typography.Body2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:layout_marginTop="@dimen/spacing_12"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:button="@drawable/ic_radio_button_select"
|
||||
android:buttonTint="@null"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:paddingStart="@dimen/spacing_6"
|
||||
android:paddingEnd="0dp"
|
||||
android:text="@string/gift_send_damage_loss_agreement"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/spacing_8"
|
||||
android:layout_marginVertical="@dimen/spacing_24"
|
||||
android:background="@color/color_111111" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingTop="@dimen/spacing_8"
|
||||
android:text="@string/gift_send_sender"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Caption2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_4"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingBottom="@dimen/spacing_8"
|
||||
android:text="@string/gift_send_sender_description"
|
||||
android:textColor="@color/gray_300" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_12"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="@dimen/spacing_14">
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:labelFor="@id/et_sender_name"
|
||||
android:text="@string/gift_send_name"
|
||||
android:textColor="@color/gray_300" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_sender_name"
|
||||
style="@style/Typography.Body3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_4"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_reply"
|
||||
android:backgroundTint="@null"
|
||||
android:hint="@string/gift_send_name_hint"
|
||||
android:imeOptions="actionNext"
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="textPersonName"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:padding="@dimen/spacing_14"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textColorHint="@color/gray_500" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sender_name_support"
|
||||
style="@style/Typography.Body5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_4"
|
||||
android:text="@string/gift_send_name_description"
|
||||
android:textColor="@color/gray_400" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_20"
|
||||
android:labelFor="@id/et_phone_number"
|
||||
android:text="@string/gift_send_phone"
|
||||
android:textColor="@color/gray_300" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_phone_number"
|
||||
style="@style/Typography.Body3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_4"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_reply"
|
||||
android:backgroundTint="@null"
|
||||
android:hint="@string/gift_send_phone_hint"
|
||||
android:imeOptions="actionNext"
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="phone"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:padding="@dimen/spacing_14"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textColorHint="@color/gray_500" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_phone_number_support"
|
||||
style="@style/Typography.Body5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_4"
|
||||
android:text="@string/gift_send_phone_description"
|
||||
android:textColor="@color/gray_400" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_20"
|
||||
android:text="@string/gift_send_address"
|
||||
android:textColor="@color/gray_300" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_4"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_postcode"
|
||||
style="@style/Typography.Body3"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_reply"
|
||||
android:focusable="false"
|
||||
android:hint="@string/gift_send_postcode_hint"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:padding="@dimen/spacing_14"
|
||||
android:textColor="@color/white"
|
||||
android:textColorHint="@color/gray_500" />
|
||||
|
||||
<android.widget.Button
|
||||
android:id="@+id/btn_postcode_search"
|
||||
style="@style/Typography.Body2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/spacing_8"
|
||||
android:background="@drawable/bg_creator_channel_outline_button"
|
||||
android:backgroundTint="@null"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:minWidth="0dp"
|
||||
android:padding="@dimen/spacing_12"
|
||||
android:text="@string/gift_send_postcode_search"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_address"
|
||||
style="@style/Typography.Body3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_8"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_reply"
|
||||
android:focusable="false"
|
||||
android:hint="@string/gift_send_address_hint"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:padding="@dimen/spacing_14"
|
||||
android:textColor="@color/white"
|
||||
android:textColorHint="@color/gray_500" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_detail_address"
|
||||
style="@style/Typography.Body3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_8"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_reply"
|
||||
android:backgroundTint="@null"
|
||||
android:hint="@string/gift_send_detail_address_hint"
|
||||
android:imeOptions="actionDone"
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="textPostalAddress"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:padding="@dimen/spacing_14"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textColorHint="@color/gray_500" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/spacing_8"
|
||||
android:layout_marginVertical="@dimen/spacing_24"
|
||||
android:background="@color/color_111111" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="@dimen/spacing_14"
|
||||
android:paddingVertical="@dimen/spacing_8"
|
||||
android:text="@string/gift_send_agreements"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:layout_marginTop="@dimen/spacing_12"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_reply"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/spacing_14">
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Body4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/gift_send_rules_title"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<TextView
|
||||
style="@style/Typography.Caption3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_6"
|
||||
android:text="@string/gift_send_rules"
|
||||
android:textColor="@color/gray_300" />
|
||||
</LinearLayout>
|
||||
|
||||
<android.widget.CheckBox
|
||||
android:id="@+id/cb_terms"
|
||||
style="@style/Typography.Body2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:layout_marginTop="@dimen/spacing_20"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:button="@drawable/ic_radio_button_select"
|
||||
android:buttonTint="@null"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:paddingStart="@dimen/spacing_6"
|
||||
android:paddingEnd="0dp"
|
||||
android:text="@string/gift_send_terms_agreement"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
<android.widget.CheckBox
|
||||
android:id="@+id/cb_privacy"
|
||||
style="@style/Typography.Body2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:layout_marginTop="@dimen/spacing_8"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:button="@drawable/ic_radio_button_select"
|
||||
android:buttonTint="@null"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:paddingStart="@dimen/spacing_6"
|
||||
android:paddingEnd="0dp"
|
||||
android:text="@string/gift_send_privacy_agreement"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
<android.widget.Button
|
||||
android:id="@+id/btn_send"
|
||||
style="@style/Typography.Heading4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/spacing_14"
|
||||
android:layout_marginVertical="@dimen/spacing_8"
|
||||
android:background="@drawable/bg_creator_channel_fantalk_write_send_disabled"
|
||||
android:backgroundTint="@null"
|
||||
android:enabled="false"
|
||||
android:fontFamily="@font/medium"
|
||||
android:minHeight="@dimen/spacing_48"
|
||||
android:padding="@dimen/spacing_14"
|
||||
android:text="@string/gift_send_title"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="@color/gray_500" />
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user