discord-jadx/app/src/main/res/layout-v22/widget_guild_scheduled_even...

28 lines
7.0 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" android:layout_width="match_parent" android:layout_height="match_parent" style="@style/UiKit_ViewGroup_Page">
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/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">
<TextView android:textAppearance="@style/UiKit_TextAppearance_Bold" android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/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" android:layout_marginHorizontal="16dp" app:layout_constraintBottom_toTopOf="@+id/next_button" app:layout_constraintTop_toBottomOf="@+id/toolbar">
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent">
<com.discord.views.ScreenTitleView android:id="@+id/title_view" 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_location_subtitle" app:stv_title="@string/guild_event_location_title"/>
<LinearLayout android:id="@+id/location_options" android:background="@drawable/drawable_start_stage_bg" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="24dp" app:layout_constrainedHeight="true" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/title_view" style="@style/UiKit_ViewGroup_LinearLayout">
<com.discord.views.CheckedSetting android:id="@+id/stage_channel_option" app:cs_drawable_left="@drawable/ic_channel_stage_24dp" app:cs_drawable_left_tint="?attr/colorInteractiveNormal" app:cs_subtext="@string/guild_event_location_option_stage_hint" app:cs_text="@string/stage_channel" app:cs_view_type="1" style="@style/UiKit_CheckedSetting_Themed"/>
<View android:id="@+id/voice_channel_divider" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginHorizontal="16dp" style="@style/UiKit_Divider"/>
<com.discord.views.CheckedSetting android:id="@+id/voice_channel_option" app:cs_drawable_left="@drawable/ic_channel_voice" app:cs_drawable_left_tint="?attr/colorInteractiveNormal" app:cs_subtext="@string/guild_event_location_option_voice_hint" app:cs_text="@string/voice_channel" app:cs_view_type="1" style="@style/UiKit_CheckedSetting_Themed"/>
<View android:id="@+id/external_divider" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginHorizontal="16dp" style="@style/UiKit_Divider"/>
<com.discord.views.CheckedSetting android:id="@+id/external_option" app:cs_drawable_left="@drawable/ic_location_24dp" app:cs_drawable_left_tint="?attr/colorInteractiveNormal" app:cs_subtext="@string/guild_event_location_option_elsewhere_hint" app:cs_text="@string/guild_event_location_external" app:cs_view_type="1" style="@style/UiKit_CheckedSetting_Themed"/>
</LinearLayout>
<TextView android:id="@+id/location_header" android:visibility="gone" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/guild_event_location_elsewhere_field_label" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/location_options" style="@style/UiKit_Stage_SectionHeader"/>
<com.google.android.material.textfield.TextInputLayout android:id="@+id/external_location_layout" android:visibility="gone" android:layout_marginTop="8dp" app:counterMaxLength="100" app:hintEnabled="false" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/location_header" style="@style/UiKit_TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:textColorHint="?attr/colorTextMuted" android:id="@+id/external_location_input" android:padding="12dp" android:hint="@string/guild_event_location_elsewhere_field_placeholder" android:maxLength="100" android:imeOptions="actionDone" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Search"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout android:id="@+id/channel_location_layout" android:focusable="false" android:focusableInTouchMode="false" android:visibility="gone" android:layout_width="0dp" android:layout_marginTop="8dp" app:hintEnabled="false" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/location_header" style="@style/UiKit_TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:textColorHint="?attr/colorTextMuted" android:id="@+id/channel_location_input" android:padding="12dp" android:focusable="false" android:focusableInTouchMode="false" android:hint="@string/guild_settings_public_welcome_select_a_channel" android:drawableEnd="@drawable/ic_arrow_down" app:drawableTint="?attr/colorInteractiveNormal" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Search"/>
</com.google.android.material.textfield.TextInputLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.core.widget.NestedScrollView>
<com.google.android.material.button.MaterialButton android:id="@+id/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>