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

50 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:gravity="center"
android:text="@string/app_name"
android:textSize="20sp" />
<com.google.android.material.textfield.TextInputLayout
style="@style/CustomDialogTextInputLayout"
app:passwordToggleEnabled="true"
android:hint="@string/password">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/delete_password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword" />
</com.google.android.material.textfield.TextInputLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end"
android:orientation="horizontal">
<Button
android:id="@+id/cancel_button"
style="@style/CustomDialogButton"
android:text="@string/cancel" />
<Button
android:id="@+id/delete_account_confirm"
style="@style/CustomDialogButton"
android:layout_marginEnd="16dp"
android:text="@string/deleteAccount" />
</LinearLayout>
</LinearLayout>