LibreTube/app/src/main/res/layout/dialog_delete_account.xml

50 lines
1.6 KiB
XML
Raw Normal View History

2022-06-25 21:25:03 +05:30
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2022-10-06 18:44:06 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
2022-06-25 21:25:03 +05:30
android:layout_width="wrap_content"
2022-06-27 22:47:52 +05:30
android:layout_height="wrap_content"
android:orientation="vertical">
2022-06-25 21:25:03 +05:30
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
2022-06-27 22:47:52 +05:30
android:gravity="center"
android:text="@string/app_name"
2022-06-25 21:25:03 +05:30
android:textSize="20sp" />
2022-08-14 21:05:17 +05:30
<com.google.android.material.textfield.TextInputLayout
style="@style/CustomDialogTextInputLayout"
2022-10-06 18:44:06 +05:30
android:hint="@string/password"
app:passwordToggleEnabled="true">
2022-06-25 21:25:03 +05:30
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/delete_password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-08-14 21:05:17 +05:30
android:inputType="textPassword" />
2022-06-25 21:25:03 +05:30
</com.google.android.material.textfield.TextInputLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-08-14 21:05:17 +05:30
android:gravity="end"
2022-06-27 22:47:52 +05:30
android:orientation="horizontal">
2022-06-25 21:25:03 +05:30
<Button
android:id="@+id/cancel_button"
2022-06-27 22:47:52 +05:30
style="@style/CustomDialogButton"
android:text="@string/cancel" />
2022-06-25 21:25:03 +05:30
<Button
android:id="@+id/delete_account_confirm"
2022-06-26 13:31:43 +05:30
style="@style/CustomDialogButton"
2022-08-14 21:05:17 +05:30
android:layout_marginEnd="16dp"
2022-06-27 22:47:52 +05:30
android:text="@string/deleteAccount" />
2022-06-25 21:25:03 +05:30
</LinearLayout>
</LinearLayout>