diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/dialog_password_entry.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/src/main/res/layout/dialog_password_entry.xml b/app/src/main/res/layout/dialog_password_entry.xml new file mode 100644 index 00000000..3729fb4f --- /dev/null +++ b/app/src/main/res/layout/dialog_password_entry.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?><!-- + ~ Copyright © 2014-2022 The Android Password Store Authors. All Rights Reserved. + ~ SPDX-License-Identifier: GPL-3.0-only + --> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="@dimen/activity_horizontal_margin"> + + <com.google.android.material.textfield.TextInputLayout + android:id="@+id/password_field" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:hint="@string/password" + app:endIconMode="password_toggle" + app:hintAnimationEnabled="true" + app:hintEnabled="true"> + + <com.google.android.material.textfield.TextInputEditText + android:id="@+id/password_edit_text" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:inputType="textPassword" /> + </com.google.android.material.textfield.TextInputLayout> + +</LinearLayout> |