38 lines
12 KiB
XML
38 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" style="@style/UiKit_ViewGroup_Page">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/guild_scheduled_event_settings_toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0">
|
|
<ImageView android:id="@+id/back_button" android:background="?attr/selectableItemBackgroundBorderless" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_arrow_back_white_24dp" android:contentDescription="@string/back" android:layout_marginStart="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:tint="?attr/colorInteractiveNormal"/>
|
|
<TextView android:textAppearance="@style/UiKit_TextAppearance_Bold" android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_scheduled_event_settings_step_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAllCaps="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<ImageView android:id="@+id/close_button" android:background="?attr/selectableItemBackgroundBorderless" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_close_24dp" android:contentDescription="@string/close" android:layout_marginEnd="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintTop_toTopOf="0" app:tint="?attr/colorInteractiveNormal"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.core.widget.NestedScrollView android:id="@+id/guild_scheduled_event_settings_scroll_view" android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" app:layout_constraintBottom_toTopOf="@+id/guild_scheduled_event_settings_next_button" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_toolbar">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent">
|
|
<com.discord.views.ScreenTitleView android:id="@+id/guild_scheduled_event_settings_stv" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:stv_subtitle="@string/guild_event_create_body" app:stv_title="@string/guild_event_create_header"/>
|
|
<TextView android:id="@+id/guild_scheduled_event_settings_topic_header" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="32dp" android:text="@string/guild_event_create_topic_label" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_stv" style="@style/UiKit_Stage_SectionHeader"/>
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/guild_scheduled_event_settings_topic_layout" android:layout_marginTop="8dp" app:counterMaxLength="240" app:hintEnabled="false" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_topic_header" style="@style/UiKit_TextInputLayout">
|
|
<com.google.android.material.textfield.TextInputEditText android:textColorHint="?attr/colorTextMuted" android:id="@+id/guild_scheduled_event_settings_topic_input" android:padding="12dp" android:hint="@string/guild_event_create_topic_placeholder" android:maxLength="240" android:imeOptions="actionDone" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Search"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<TextView android:id="@+id/guild_scheduled_event_settings_start_date_header" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/create_event_start_date_label" android:layout_marginEnd="16dp" app:layout_constraintEnd_toStartOf="@+id/guild_scheduled_event_settings_start_time_header" app:layout_constraintHorizontal_weight="1" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_topic_layout" style="@style/UiKit_Stage_SectionHeader"/>
|
|
<TextView android:id="@+id/guild_scheduled_event_settings_start_time_header" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/create_event_start_time_label" app:layout_constraintBaseline_toBaselineOf="@+id/guild_scheduled_event_settings_start_date_header" app:layout_constraintEnd_toEndOf="0" app:layout_constraintHorizontal_weight="1" app:layout_constraintStart_toEndOf="@+id/guild_scheduled_event_settings_start_date_header" style="@style/UiKit_Stage_SectionHeader"/>
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/guild_scheduled_event_settings_start_date_input_layout" android:layout_width="0dp" android:layout_marginTop="8dp" app:counterMaxLength="240" app:hintEnabled="false" app:layout_constraintEnd_toEndOf="@+id/guild_scheduled_event_settings_start_date_header" app:layout_constraintStart_toStartOf="@+id/guild_scheduled_event_settings_start_date_header" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_start_date_header" style="@style/UiKit_TextInputLayout">
|
|
<com.google.android.material.textfield.TextInputEditText android:textColorHint="?attr/colorTextMuted" android:id="@+id/guild_scheduled_event_settings_start_date_input" android:padding="12dp" android:focusable="false" android:focusableInTouchMode="false" android:maxLength="240" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Search"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/guild_scheduled_event_settings_start_time_input_layout" android:focusable="false" android:focusableInTouchMode="false" android:layout_width="0dp" android:layout_marginTop="8dp" app:counterMaxLength="240" app:hintEnabled="false" app:layout_constraintEnd_toEndOf="@+id/guild_scheduled_event_settings_start_time_header" app:layout_constraintStart_toStartOf="@+id/guild_scheduled_event_settings_start_time_header" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_start_time_header" style="@style/UiKit_TextInputLayout">
|
|
<com.google.android.material.textfield.TextInputEditText android:textColorHint="?attr/colorTextMuted" android:id="@+id/guild_scheduled_event_settings_start_time_input" android:padding="12dp" android:focusable="false" android:focusableInTouchMode="false" android:maxLength="240" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Search"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<TextView android:id="@+id/end_date_header" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/create_event_end_date_label" android:layout_marginEnd="16dp" app:layout_constraintEnd_toStartOf="@+id/end_time_header" app:layout_constraintHorizontal_weight="1" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_start_time_input_layout" style="@style/UiKit_Stage_SectionHeader"/>
|
|
<TextView android:id="@+id/end_time_header" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/create_event_end_time_label" app:layout_constraintBaseline_toBaselineOf="@+id/end_date_header" app:layout_constraintEnd_toEndOf="0" app:layout_constraintHorizontal_weight="1" app:layout_constraintStart_toEndOf="@+id/end_date_header" style="@style/UiKit_Stage_SectionHeader"/>
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/end_date_layout" android:layout_width="0dp" android:layout_marginTop="8dp" app:counterMaxLength="240" app:hintEnabled="false" app:layout_constraintEnd_toEndOf="@+id/end_date_header" app:layout_constraintStart_toStartOf="@+id/end_date_header" app:layout_constraintTop_toBottomOf="@+id/end_date_header" style="@style/UiKit_TextInputLayout">
|
|
<com.google.android.material.textfield.TextInputEditText android:textColorHint="?attr/colorTextMuted" android:id="@+id/end_date_input" android:padding="12dp" android:focusable="false" android:focusableInTouchMode="false" android:hint="" android:maxLength="240" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Search"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/end_time_layout" android:focusable="false" android:focusableInTouchMode="false" android:layout_width="0dp" android:layout_marginTop="8dp" app:counterMaxLength="240" app:hintEnabled="false" app:layout_constraintEnd_toEndOf="@+id/end_time_header" app:layout_constraintStart_toStartOf="@+id/end_time_header" app:layout_constraintTop_toBottomOf="@+id/end_time_header" style="@style/UiKit_TextInputLayout">
|
|
<com.google.android.material.textfield.TextInputEditText android:textColorHint="?attr/colorTextMuted" android:id="@+id/end_time_input" android:padding="12dp" android:focusable="false" android:focusableInTouchMode="false" android:hint="" android:maxLength="240" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Search"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<TextView android:id="@+id/guild_scheduled_event_settings_description_header" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/create_stage_instance_description_input_label" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/end_time_layout" style="@style/UiKit_Stage_SectionHeader"/>
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/guild_scheduled_event_settings_description_input_layout" android:layout_marginTop="8dp" app:counterMaxLength="240" app:hintEnabled="false" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_description_header" style="@style/UiKit_TextInputLayout">
|
|
<com.google.android.material.textfield.TextInputEditText android:textColorHint="?attr/colorTextMuted" android:gravity="top|left|center_vertical|center_horizontal|center|start" android:id="@+id/guild_scheduled_event_settings_description_input" android:padding="12dp" android:hint="@string/guild_event_create_description_placeholder" android:lines="2" android:maxLength="240" android:lineSpacingMultiplier="1.2" android:inputType="textMultiLine" android:imeOptions="actionDone" style="@style/UiKit_TextInputLayout_EditText"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
<com.google.android.material.button.MaterialButton android:id="@+id/guild_scheduled_event_settings_next_button" android:layout_margin="16dp" android:text="@string/next" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" style="@style/UiKit_Material_Button"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|