24 lines
2.6 KiB
XML
24 lines
2.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" style="@style/UiKit_ViewGroup_Page_LinearLayout">
|
||
|
<LinearLayout android:id="@+id/notice_header_container" style="@style/UiKit_ViewGroup_LinearLayout">
|
||
|
<TextView android:id="@+id/disable_delete_header" android:padding="16dp" android:text="@string/disable_account" style="@style/UiKit_TextView_H1_Bold"/>
|
||
|
<View style="@style/UiKit_Divider"/>
|
||
|
</LinearLayout>
|
||
|
<androidx.core.widget.NestedScrollView style="@style/UiKit_ViewGroup_NestedScrollView">
|
||
|
<LinearLayout android:paddingLeft="16dp" android:paddingTop="8dp" android:paddingRight="16dp" android:paddingBottom="8dp" style="@style/UiKit_ViewGroup_LinearLayout">
|
||
|
<TextView android:textSize="14dp" android:id="@+id/disable_delete_body" style="@style/UiKit_TextView"/>
|
||
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/disable_delete_password_wrap" android:hint="@string/form_label_password" style="@style/UiKit_TextInputLayout_Primary_Password">
|
||
|
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit_TextInputLayout_EditText_SingleLine_Password"/>
|
||
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/disable_delete_code_wrap" android:hint="@string/two_fa_auth_code" style="@style/UiKit_TextInputLayout_Primary">
|
||
|
<com.google.android.material.textfield.TextInputEditText android:imeOptions="actionDone" style="@style/UiKit_TextInputLayout_EditText_SingleLine"/>
|
||
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
</LinearLayout>
|
||
|
</androidx.core.widget.NestedScrollView>
|
||
|
<View style="@style/UiKit_Settings_Divider"/>
|
||
|
<LinearLayout style="@style/UiKit_Dialog_ButtonContainer">
|
||
|
<com.google.android.material.button.MaterialButton android:textColor="?attr/primary_100" android:id="@+id/disable_delete_cancel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/cancel" style="@style/UiKit_Material_Button_Transparent"/>
|
||
|
<com.discord.views.LoadingButton android:layout_gravity="center_vertical" android:id="@+id/disable_delete_confirm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="8dp" app:lb_background_color="@color/status_red_500" app:lb_progress_color="@color/white" app:lb_text="@string/disable" app:lb_text_color="@drawable/button_text_color_primary_100"/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|