18 lines
2 KiB
XML
18 lines
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout style="@style/UiKit.ViewGroup.Page.LinearLayout"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<com.discord.app.AppTextView android:id="@id/server_settings_delete_server_header" android:padding="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:text="@string/delete_server_title" style="@style/UiKit.TextView.H1.Bold" />
|
|
<View style="@style/UiKit.Divider" />
|
|
<LinearLayout android:id="@id/server_settings_delete_server_mfa_wrap" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<TextView android:text="@string/two_fa_enter_token_label" android:textAllCaps="true" style="@style/UiKit.Settings.Item.Label" />
|
|
<com.google.android.material.textfield.TextInputLayout android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" style="@style/UiKit.Form.Field.EditText.Wrap">
|
|
<androidx.appcompat.widget.AppCompatEditText android:id="@id/server_settings_delete_server_mfa_code" android:hint="@string/two_fa_auth_code" android:inputType="textVisiblePassword|numberPassword|phone" android:imeOptions="actionNext" style="@style/UiKit.Form.Field.EditText.SingleLine" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
<com.discord.app.AppTextView android:id="@id/server_settings_delete_server_text" android:text="@string/delete_server_body" style="@style/UiKit.Settings.Item.SubText" />
|
|
<View style="@style/UiKit.Settings.Divider" />
|
|
<LinearLayout style="@style/UiKit.Dialog.ButtonContainer">
|
|
<com.google.android.material.button.MaterialButton android:id="@id/server_settings_delete_server_cancel" android:text="@string/cancel" style="@style/UiKit.Material.Button.Transparent.Fit" />
|
|
<com.google.android.material.button.MaterialButton android:id="@id/server_settings_delete_server_confirm" android:text="@string/delete" style="@style/UiKit.Material.Button.Red.Fit" />
|
|
</LinearLayout>
|
|
</LinearLayout> |