discord-jadx/app/src/main/res/layout-v22/widget_stage_settings.xml

26 lines
6.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" style="@style/UiKit_ViewGroup_Page">
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme_AppBarLayout_Flat">
<androidx.appcompat.widget.Toolbar app:navigationContentDescription="@string/close" app:navigationIcon="?attr/ic_action_bar_close" style="@style/AppTheme_Toolbar_Transparent"/>
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView android:paddingLeft="16dp" android:paddingRight="16dp" android:paddingBottom="8dp" android:paddingHorizontal="16dp" style="@style/UiKit_ViewGroup_NestedScrollView_AppBarScrollingViewBehavior">
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/UiKit_ViewGroup_ConstraintLayout">
<com.discord.views.ScreenTitleView android:id="@+id/stage_start_screen_title" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="24dp" app:layout_constraintBottom_toTopOf="@+id/stage_start_topic_title" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:stv_subtitle="@string/start_stage_channel_event_modal_subtitle" app:stv_title="@string/start_stage_channel_event_modal_title"/>
<TextView android:id="@+id/stage_start_topic_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/start_stage_channel_event_modal_topic_label" app:layout_constraintEnd_toEndOf="0" app:layout_constraintHorizontal_bias="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/stage_start_screen_title" style="@style/UiKit_Stage_SectionHeader"/>
<com.google.android.material.textfield.TextInputLayout android:id="@+id/stage_start_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/stage_start_topic_title" style="@style/UiKit_TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:textColorHint="?attr/colorTextMuted" android:id="@+id/topic_input" android:layout_height="48dp" android:hint="@string/start_stage_channel_event_modal_topic_placeholder" android:maxLength="240" android:imeOptions="actionDone" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Search"/>
</com.google.android.material.textfield.TextInputLayout>
<LinearLayout android:id="@+id/stage_start_creation_options" android:background="@drawable/drawable_start_stage_bg" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:layout_marginBottom="8dp" app:layout_constrainedHeight="true" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/stage_start_topic_layout" style="@style/UiKit_ViewGroup_LinearLayout">
<com.discord.views.CheckedSetting android:id="@+id/stage_start_members_radio_button" app:cs_drawable_left="@drawable/ic_members_24dp" app:cs_drawable_left_tint="?attr/primary_300" app:cs_subtext="@string/start_stage_channel_event_members_subtitle" app:cs_text="@string/start_stage_channel_event_members_title" app:cs_view_type="1" style="@style/UiKit_CheckedSetting_Themed"/>
<View android:id="@+id/stage_start_divider" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginHorizontal="16dp" style="@style/UiKit_Divider"/>
<com.discord.views.CheckedSetting android:id="@+id/stage_start_public_radio_button" app:cs_drawable_left="@drawable/ic_globe_24dp" app:cs_drawable_left_tint="?attr/primary_300" app:cs_subtext="@string/start_stage_channel_event_public_subtitle" app:cs_text="@string/start_stage_channel_event_public_title" app:cs_view_type="1" style="@style/UiKit_CheckedSetting_Themed"/>
</LinearLayout>
<com.discord.utilities.view.text.LinkifiedTextView android:id="@+id/stage_start_public_disclaimer" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="@string/start_stage_channel_event_public_explanation" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/stage_start_creation_options" style="@style/UiKit_TextView_Subtext"/>
<com.discord.utilities.view.text.LinkifiedTextView android:id="@+id/stage_start_help_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="@string/start_stage_modal_set_topic_help_text" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/stage_start_public_disclaimer" style="@style/UiKit_TextView_Subtext"/>
<com.discord.views.CheckedSetting android:id="@+id/notify_members_check" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" app:cs_background="@drawable/drawable_start_stage_bg" app:cs_text="@string/guild_notify_members" app:cs_view_type="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/stage_start_help_text" style="@style/UiKit_CheckedSetting_Themed"/>
<Space android:id="@+id/start_stage_button_spacer" android:layout_width="16dp" android:layout_height="0dp" app:layout_constraintBottom_toTopOf="@+id/start_stage_button" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/notify_members_check"/>
<com.google.android.material.button.MaterialButton android:id="@+id/start_stage_button" android:layout_marginTop="16dp" android:text="@string/start_stage_channel_event_modal_button" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/start_stage_button_spacer" style="@style/UiKit_Material_Button"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>