From b019360ad164dd6377da19623c51aec7db358965 Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 1 Oct 2020 23:08:08 +0200 Subject: [PATCH] Made password visibility toggleable --- .../src/main/res/layout/dialog_add_account.xml | 15 +++++++++------ .../src/main/res/layout/dialog_bank_settings.xml | 1 + .../src/main/res/values/attrs.xml | 1 + 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ui/BankingAndroidApp/src/main/res/layout/dialog_add_account.xml b/ui/BankingAndroidApp/src/main/res/layout/dialog_add_account.xml index e0661c54..4a83c5c1 100644 --- a/ui/BankingAndroidApp/src/main/res/layout/dialog_add_account.xml +++ b/ui/BankingAndroidApp/src/main/res/layout/dialog_add_account.xml @@ -1,10 +1,12 @@ - + diff --git a/ui/BankingAndroidApp/src/main/res/layout/dialog_bank_settings.xml b/ui/BankingAndroidApp/src/main/res/layout/dialog_bank_settings.xml index 7bfeefa5..0af979a0 100644 --- a/ui/BankingAndroidApp/src/main/res/layout/dialog_bank_settings.xml +++ b/ui/BankingAndroidApp/src/main/res/layout/dialog_bank_settings.xml @@ -82,6 +82,7 @@ android:id="@+id/edtxtPassword" android:layout_width="match_parent" android:layout_height="wrap_content" + app:showPasswordToggle="true" android:hint="@string/online_banking_credentials_password" android:inputType="textPassword" /> diff --git a/ui/BankingAndroidApp/src/main/res/values/attrs.xml b/ui/BankingAndroidApp/src/main/res/values/attrs.xml index 9c43076b..bd0ea702 100644 --- a/ui/BankingAndroidApp/src/main/res/values/attrs.xml +++ b/ui/BankingAndroidApp/src/main/res/values/attrs.xml @@ -16,6 +16,7 @@ +