21 lines
2.2 KiB
XML
21 lines
2.2 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/enable_sms_backup_header" android:padding="16dp" android:text="@string/mfa_sms_auth" 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" style="@style/UiKit_ViewGroup_LinearLayout">
|
|
<TextView android:id="@+id/enable_sms_backup_body" android:layout_marginBottom="8dp" style="@style/UiKit_TextView"/>
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/enable_sms_backup_password_wrap" android:hint="@string/form_label_password" style="@style/UiKit_TextInputLayout_Primary_Password">
|
|
<com.google.android.material.textfield.TextInputEditText android:imeOptions="actionDone" style="@style/UiKit_TextInputLayout_EditText_SingleLine_Password"/>
|
|
</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/enable_sms_backup_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/enable_sms_backup_confirm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="8dp" app:lb_background_color="@color/status_green_600" app:lb_progress_color="@color/white" app:lb_text="@string/enable" app:lb_text_color="@drawable/button_text_color_primary_100"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|