Files
sodalive-android/app/src/main/res/layout/activity_live_room_edit.xml
klaus 6cb89ef09f 폰트 이름 변경
pretendard_bold -> bold
pretendard_regular -> regular
pretendard_medium -> medium
pretendard_light -> light
2026-01-22 22:55:14 +09:00

263 lines
12 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">
<include
android:id="@+id/toolbar"
layout="@layout/detail_toolbar" />
<ScrollView
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/fl_update"
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:layout_marginHorizontal="13.3dp"
android:layout_marginTop="40dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/bold"
android:text="@string/screen_live_room_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:background="@drawable/edittext_underline"
android:fontFamily="@font/medium"
android:hint="@string/screen_live_room_title_hint"
android:importantForAutofill="no"
android:inputType="textWebEditText"
android:paddingHorizontal="6.7dp"
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="33.3dp"
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/bold"
android:lineSpacingExtra="5sp"
android:text="@string/screen_live_room_notice"
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/medium"
android:text="@string/screen_live_room_create_notice_char_count_placeholder"
android:textColor="@color/color_ff5c49"
android:textSize="13.3sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/medium"
android:text="@string/screen_live_room_create_notice_char_limit"
android:textColor="@color/color_777777"
android:textSize="13.3sp" />
</LinearLayout>
</RelativeLayout>
<EditText
android:id="@+id/et_content"
android:layout_width="match_parent"
android:layout_height="200dp"
android:background="@drawable/bg_round_corner_6_7_222222"
android:fontFamily="@font/medium"
android:gravity="top"
android:hint="@string/screen_live_room_notice_hint"
android:importantForAutofill="no"
android:inputType="textMultiLine"
android:overScrollMode="always"
android:padding="20dp"
android:scrollbarStyle="insideInset"
android:scrollbars="vertical"
android:textColor="@color/color_eeeeee"
android:textColorHint="@color/color_777777"
android:textCursorDrawable="@drawable/edit_text_cursor"
android:textSize="13.3sp"
tools:ignore="LabelFor" />
</LinearLayout>
<TextView
android:id="@+id/tv_config_time"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="13.3dp"
android:layout_marginTop="33.3dp"
android:fontFamily="@font/bold"
android:lineSpacingExtra="5sp"
android:text="@string/screen_live_room_create_time_label"
android:textColor="@color/color_eeeeee"
android:textSize="16.7sp" />
<LinearLayout
android:id="@+id/ll_reservation_datetime"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="13.3dp"
android:baselineAligned="false"
android:paddingHorizontal="13.3dp"
android:paddingVertical="14.2dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/medium"
android:text="@string/screen_live_room_create_reservation_date_label"
android:textColor="@color/color_eeeeee"
android:textSize="13.3sp" />
<TextView
android:id="@+id/tv_reservation_date"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6.7dp"
android:background="@drawable/bg_round_corner_6_7_333333_3bb9f1"
android:fontFamily="@font/medium"
android:gravity="center"
android:paddingVertical="15.3dp"
android:text="@string/screen_live_room_create_reservation_date_placeholder"
android:textColor="@color/color_eeeeee"
android:textSize="14.7sp"
tools:text="2021.08.04" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="13.3dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/medium"
android:text="@string/screen_live_room_create_reservation_time_label"
android:textColor="@color/color_eeeeee"
android:textSize="13.3sp" />
<TextView
android:id="@+id/tv_reservation_time"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6.7dp"
android:background="@drawable/bg_round_corner_6_7_333333_3bb9f1"
android:fontFamily="@font/medium"
android:gravity="center"
android:paddingVertical="15.3dp"
android:text="@string/screen_live_room_create_reservation_time_placeholder"
android:textColor="@color/color_eeeeee"
android:textSize="14.7sp"
tools:text="오후 08 : 30" />
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="13.3dp"
android:layout_marginTop="33.3dp"
android:fontFamily="@font/bold"
android:lineSpacingExtra="5sp"
android:text="@string/screen_live_room_create_capacity_label"
android:textColor="@color/color_eeeeee"
android:textSize="16.7sp" />
<EditText
android:id="@+id/et_number_of_people"
android:layout_width="match_parent"
android:layout_height="48.7dp"
android:layout_margin="13.3dp"
android:background="@drawable/bg_round_corner_6_7_222222"
android:fontFamily="@font/medium"
android:gravity="center"
android:hint="@string/screen_live_room_create_capacity_hint"
android:importantForAutofill="no"
android:inputType="number"
android:maxLength="3"
android:textColor="@color/color_eeeeee"
android:textColorHint="@color/color_777777"
android:textCursorDrawable="@drawable/edit_text_cursor"
android:textSize="14.7sp"
tools:ignore="LabelFor" />
</LinearLayout>
</ScrollView>
<FrameLayout
android:id="@+id/fl_update"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="33.3dp"
android:background="@drawable/bg_top_round_corner_16_7_222222"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent">
<TextView
android:id="@+id/tv_update"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_margin="13.3dp"
android:background="@drawable/bg_round_corner_10_3bb9f1"
android:fontFamily="@font/bold"
android:gravity="center"
android:text="@string/screen_live_room_profile_edit_title"
android:textColor="@color/white"
android:textSize="18.3sp" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>