2020-05-17 12:40:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout android:orientation="vertical" android:id="@id/settings_account_scroll" style="@style/UiKit.Dialog.Container"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
2020-09-16 23:45:23 +00:00
|
|
|
<TextView android:id="@id/ban_user_title" android:text="@string/ban_user_title" style="@style/UiKit.Dialog.Title" />
|
2020-05-17 12:40:10 +00:00
|
|
|
<View style="@style/UiKit.Divider" />
|
|
|
|
<ScrollView android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
|
|
|
|
<LinearLayout android:focusable="true" android:focusableInTouchMode="true" style="@style/UiKit.ViewGroup.LinearLayout">
|
2020-09-16 23:45:23 +00:00
|
|
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:gravity="center_vertical" android:id="@id/ban_user_body" android:text="@string/ban_user_body" style="@style/UiKit.Dialog.Body" />
|
2020-05-17 12:40:10 +00:00
|
|
|
<TextView android:text="@string/form_label_delete_message_history" style="@style/UiKit.Dialog.Subtitle" />
|
|
|
|
<com.discord.views.CheckedSetting android:id="@id/ban_user_delete_messages_none" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cs_text="@string/delete_message_history_option_none" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
|
|
|
<com.discord.views.CheckedSetting android:id="@id/ban_user_delete_messages_1_day" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cs_text="@string/delete_message_history_option_24hr" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
|
|
|
<com.discord.views.CheckedSetting android:id="@id/ban_user_delete_messages_7_days" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cs_text="@string/delete_message_history_option_7d" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
|
|
|
<TextView android:text="@string/form_label_reason_ban" style="@style/UiKit.Dialog.Subtitle" />
|
2020-09-02 04:07:20 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@id/ban_user_reason" android:layout_margin="16.0dip" style="@style/UiKit.TextInputLayout.Primary">
|
2020-07-08 16:44:49 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText android:hint="@string/form_label_reason_ban" style="@style/UiKit.TextInputLayout.EditText.MultiLine" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2020-05-17 12:40:10 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
<LinearLayout android:id="@id/ban_user_button_container" style="@style/UiKit.Dialog.ButtonContainer">
|
|
|
|
<com.google.android.material.button.MaterialButton android:id="@id/ban_user_cancel" android:text="@string/cancel" style="@style/UiKit.Material.Button.Transparent.Fit" />
|
|
|
|
<com.google.android.material.button.MaterialButton android:id="@id/ban_user_confirm" android:text="@string/confirm" style="@style/UiKit.Material.Button.Red.Fit" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|