apkfuckery/com.discord/res/layout/widget_ban_user.xml

23 lines
2.9 KiB
XML
Raw Normal View History

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">
<com.discord.app.AppTextView android:id="@id/ban_user_title" android:text="@string/ban_user_title" style="@style/UiKit.Dialog.Title" />
<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">
<com.discord.app.AppTextView 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" />
<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-07-08 16:44:49 +00:00
<com.google.android.material.textfield.TextInputLayout android:id="@id/ban_user_reason" android:layout_margin="@dimen/uikit_spacing_large" style="@style/UiKit.TextInputLayout.Primary">
<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>