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

46 lines
16 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" 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" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginHorizontal="16dp" 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_marginLeft="16dp" android:layout_marginTop="32dp" android:layout_marginRight="16dp" android:text="@string/guild_event_create_topic_label" android:layout_marginHorizontal="16dp" 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_marginLeft="16dp" android:layout_marginTop="8dp" android:layout_marginRight="16dp" android:layout_marginHorizontal="16dp" 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_marginStart="16dp" 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" android:layout_marginEnd="16dp" 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_marginLeft="16dp" android:layout_marginTop="24dp" android:layout_marginRight="16dp" android:text="@string/create_event_end_date_label" android:layout_marginHorizontal="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" android:layout_marginEnd="16dp" 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_marginLeft="16dp" android:layout_marginTop="24dp" android:layout_marginRight="16dp" android:text="@string/create_stage_instance_description_input_label" android:layout_marginHorizontal="16dp" 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_marginLeft="16dp" android:layout_marginTop="8dp" android:layout_marginRight="16dp" android:layout_marginHorizontal="16dp" 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="start|top" 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>
<TextView android:id="@+id/guild_scheduled_event_settings_visibility_header" android:visibility="gone" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginTop="24dp" android:layout_marginRight="16dp" android:text="@string/hub_events_share_title" android:layout_marginHorizontal="16dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_description_input_layout" style="@style/UiKit_Stage_SectionHeader"/>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@+id/guild_scheduled_event_settings_visibility_container" android:background="?attr/colorBackgroundTertiary" android:paddingLeft="16dp" android:paddingTop="12dp" android:paddingRight="16dp" android:paddingBottom="12dp" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:foreground="?attr/selectableItemBackground" android:paddingHorizontal="16dp" android:paddingVertical="12dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_visibility_header">
<TextView android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/hub_events_share_description" android:layout_weight="1" style="@style/UiKit_TextView"/>
<com.google.android.material.checkbox.MaterialCheckBox android:id="@+id/guild_scheduled_event_settings_visibility_checkbox" android:saveEnabled="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="12dp" android:buttonTint="?attr/colorCompoundButton"/>
</LinearLayout>
<View android:id="@+id/guild_scheduled_event_settings_visibility_container_disabled" android:background="?attr/colorTextMuted" android:visibility="gone" android:clickable="false" android:layout_width="0dp" android:layout_height="0dp" android:alpha="0.3" app:layout_constraintBottom_toBottomOf="@+id/guild_scheduled_event_settings_visibility_container" app:layout_constraintEnd_toEndOf="@+id/guild_scheduled_event_settings_visibility_container" app:layout_constraintStart_toStartOf="@+id/guild_scheduled_event_settings_visibility_container" app:layout_constraintTop_toTopOf="@+id/guild_scheduled_event_settings_visibility_container"/>
<TextView android:id="@+id/guild_scheduled_event_settings_visibility_description" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginTop="8dp" android:layout_marginRight="16dp" android:layout_marginBottom="100dp" android:text="@string/hub_events_share_channel_everyone_viewable_warning" android:layout_marginHorizontal="16dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_visibility_container" style="@style/UiKit_TextView"/>
</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" app:layout_constraintTop_toBottomOf="@+id/guild_scheduled_event_settings_scroll_view" style="@style/UiKit_Material_Button"/>
</androidx.constraintlayout.widget.ConstraintLayout>