507 lines
24 KiB
XML
507 lines
24 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/black"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/toolbar"
|
|
layout="@layout/detail_toolbar" />
|
|
|
|
<ScrollView
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/toolbar">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="13.3dp"
|
|
android:layout_marginTop="13.3dp"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:text="@string/screen_audio_content_upload_thumbnail_label"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textSize="16.7sp" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="121.3dp"
|
|
android:layout_height="106.7dp"
|
|
android:layout_marginTop="13.3dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_cover"
|
|
android:layout_width="106.7dp"
|
|
android:layout_height="106.7dp"
|
|
android:adjustViewBounds="true"
|
|
android:background="@drawable/bg_round_corner_13_3_13181b"
|
|
android:contentDescription="@null"
|
|
android:padding="13.3dp"
|
|
android:src="@drawable/ic_logo" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_photo_picker"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="@drawable/bg_round_corner_33_3_3bb9f1"
|
|
android:contentDescription="@null"
|
|
android:padding="10dp"
|
|
android:src="@drawable/ic_camera" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="6.7dp"
|
|
android:layout_marginVertical="26.7dp"
|
|
android:background="@color/color_232323" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="13.3dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:text="@string/screen_audio_content_upload_title_label"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textSize="16.7sp" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="13.3dp"
|
|
android:background="@drawable/bg_round_corner_6_7_222222"
|
|
android:fontFamily="@font/gmarket_sans_medium"
|
|
android:hint="제목을 입력하세요."
|
|
android:importantForAutofill="no"
|
|
android:inputType="textWebEditText"
|
|
android:paddingHorizontal="13.3dp"
|
|
android:paddingVertical="17dp"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textColorHint="@color/color_777777"
|
|
android:textCursorDrawable="@drawable/edit_text_cursor"
|
|
android:textSize="13.3sp"
|
|
android:theme="@style/EditTextStyle"
|
|
tools:ignore="LabelFor" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="13.3dp"
|
|
android:layout_marginTop="30dp"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:lineSpacingExtra="5sp"
|
|
android:text="@string/screen_audio_content_upload_content_label"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textSize="16.7sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_number_of_characters"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_medium"
|
|
android:text="@string/audio_content_modify_char_count_initial"
|
|
android:textColor="@color/color_ff5c49"
|
|
android:textSize="13.3sp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_medium"
|
|
android:text="@string/screen_audio_content_upload_char_limit_suffix"
|
|
android:textColor="@color/color_777777"
|
|
android:textSize="13.3sp" />
|
|
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<EditText
|
|
android:id="@+id/et_detail"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="200dp"
|
|
android:layout_marginTop="6.7dp"
|
|
android:background="@drawable/bg_round_corner_6_7_222222"
|
|
android:fontFamily="@font/gmarket_sans_medium"
|
|
android:gravity="top"
|
|
android:hint="내용을 입력하세요"
|
|
android:importantForAutofill="no"
|
|
android:inputType="textMultiLine"
|
|
android:padding="20dp"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textColorHint="@color/color_777777"
|
|
android:textCursorDrawable="@drawable/edit_text_cursor"
|
|
android:textSize="13.3sp"
|
|
tools:ignore="LabelFor" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="13.3dp"
|
|
android:layout_marginTop="30dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:text="@string/screen_audio_content_upload_tag_label"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textSize="16.7sp" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_tag"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="13.3dp"
|
|
android:background="@drawable/bg_round_corner_6_7_222222"
|
|
android:fontFamily="@font/gmarket_sans_medium"
|
|
android:hint="예 : #연애 #커버곡 #태그"
|
|
android:importantForAutofill="no"
|
|
android:inputType="textWebEditText"
|
|
android:paddingHorizontal="13.3dp"
|
|
android:paddingVertical="17dp"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textColorHint="@color/color_777777"
|
|
android:textCursorDrawable="@drawable/edit_text_cursor"
|
|
android:textSize="13.3sp"
|
|
android:theme="@style/EditTextStyle"
|
|
tools:ignore="LabelFor" />
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="6.7dp"
|
|
android:layout_marginVertical="26.7dp"
|
|
android:background="@color/color_232323" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_config_point_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="13.3dp"
|
|
android:layout_marginTop="30dp"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:lineSpacingExtra="5sp"
|
|
android:text="@string/screen_audio_content_upload_point_section_title"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textSize="16.7sp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_config_point"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="13.3dp"
|
|
android:layout_marginTop="13.3dp"
|
|
android:baselineAligned="false">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_available_point"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/bg_round_corner_6_7_13181b"
|
|
android:gravity="center"
|
|
android:paddingVertical="14.3dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_available_point"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="6.7dp"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_select_check"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_available_point"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:text="@string/screen_audio_content_upload_point_available"
|
|
android:textColor="@color/color_3bb9f1"
|
|
android:textSize="14.7sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_not_available_point"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="13.3dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/bg_round_corner_6_7_13181b"
|
|
android:gravity="center"
|
|
android:paddingVertical="14.3dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_not_available_point"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="6.7dp"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_select_check"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_not_available_point"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:text="@string/screen_audio_content_upload_point_unavailable"
|
|
android:textColor="@color/color_3bb9f1"
|
|
android:textSize="14.7sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_set_adult"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="13.3dp"
|
|
android:layout_marginTop="30dp"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:lineSpacingExtra="5sp"
|
|
android:text="@string/screen_audio_content_upload_age_section_title"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textSize="16.7sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="13.3dp"
|
|
android:baselineAligned="false">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_age_all"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/bg_round_corner_6_7_13181b"
|
|
android:gravity="center"
|
|
android:paddingVertical="14.3dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_age_all"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="6.7dp"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_select_check"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_age_all"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:text="@string/screen_audio_content_upload_age_all"
|
|
android:textColor="@color/color_3bb9f1"
|
|
android:textSize="14.7sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_age_19"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="13.3dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/bg_round_corner_6_7_13181b"
|
|
android:gravity="center"
|
|
android:paddingVertical="14.3dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_age_19"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="6.7dp"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_select_check"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_age_19"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:text="@string/screen_audio_content_upload_age_19"
|
|
android:textColor="@color/color_3bb9f1"
|
|
android:textSize="14.7sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="13.3dp"
|
|
android:fontFamily="@font/gmarket_sans_medium"
|
|
android:text="@string/screen_audio_content_upload_age_notice"
|
|
android:textColor="@color/color_dd4500"
|
|
android:textSize="13.3sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_set_comment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="13.3dp"
|
|
android:layout_marginTop="30dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:lineSpacingExtra="5sp"
|
|
android:text="@string/screen_audio_content_upload_comment_section_title"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textSize="16.7sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="13.3dp"
|
|
android:baselineAligned="false">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_comment_yes"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/bg_round_corner_6_7_13181b"
|
|
android:gravity="center"
|
|
android:paddingVertical="14.3dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_comment_yes"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="6.7dp"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_select_check"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_comment_yes"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:text="@string/screen_audio_content_upload_comment_allow"
|
|
android:textColor="@color/color_3bb9f1"
|
|
android:textSize="14.7sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_comment_no"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="13.3dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/bg_round_corner_6_7_13181b"
|
|
android:gravity="center"
|
|
android:paddingVertical="14.3dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_comment_no"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="6.7dp"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_select_check"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_comment_no"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:text="@string/screen_audio_content_upload_comment_disallow"
|
|
android:textColor="@color/color_3bb9f1"
|
|
android:textSize="14.7sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="34dp"
|
|
android:background="@drawable/bg_top_round_corner_16_7_222222"
|
|
android:orientation="horizontal"
|
|
android:padding="13.3dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_cancel"
|
|
android:layout_width="0dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginEnd="6.7dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/bg_round_corner_6_7_13181b_3bb9f1"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:gravity="center"
|
|
android:text="@string/cancel"
|
|
android:textColor="@color/color_3bb9f1"
|
|
android:textSize="18.3sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_modify"
|
|
android:layout_width="0dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginStart="6.7dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/bg_round_corner_6_7_3bb9f1"
|
|
android:fontFamily="@font/gmarket_sans_bold"
|
|
android:gravity="center"
|
|
android:text="@string/audio_content_playlist_modify_save"
|
|
android:textColor="@color/white"
|
|
android:textSize="18.3sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|