discord-jadx/app/src/main/res/layout/widget_enable_two_factor_password_dialog.xml
Juby210 02b39b5eaf
Enable replacing const values in jadx
Tracking changes should be much easier now.
2021-08-10 00:50:52 +02:00

20 lines
2.4 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/enable_two_factor_password_header_container" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/UiKit_ViewGroup_LinearLayout">
<TextView android:id="@+id/enable_two_factor_password_header" android:padding="16dp" android:layout_width="match_parent" android:text="@string/two_fa_enable" style="@style/UiKit_TextView_H1_Bold"/>
<View style="@style/UiKit_Divider"/>
</LinearLayout>
<androidx.core.widget.NestedScrollView style="@style/UiKit_ViewGroup_NestedScrollView">
<LinearLayout android:gravity="center" android:id="@+id/enable_two_factor_password_body_container" style="@style/UiKit_ViewGroup_LinearLayout">
<TextView android:layout_gravity="start" android:id="@+id/enable_two_factor_password_body_text" android:padding="16dp" android:layout_width="match_parent" android:text="@string/user_settings_edit_account_password_label" android:textAlignment="textStart" style="@style/UiKit_TextView"/>
<com.google.android.material.textfield.TextInputLayout android:id="@+id/enable_two_factor_password_view_input" android:layout_margin="8dp" android:hint="@string/form_label_password" style="@style/UiKit_TextInputLayout_Primary">
<com.google.android.material.textfield.TextInputEditText 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:id="@+id/enable_two_factor_password_cancel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/cancel" style="?attr/buttonBarNegativeButtonStyle"/>
<com.discord.views.LoadingButton android:id="@+id/enable_two_factor_password_ok" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="8dp" app:lb_progress_color="@color/white" app:lb_text="@string/confirm"/>
</LinearLayout>
</LinearLayout>