Made password visibility toggleable
This commit is contained in:
parent
cb486de6d4
commit
b019360ad1
|
@ -1,10 +1,12 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_height="match_parent"
|
android:orientation="vertical"
|
||||||
android:padding="@dimen/dialog_add_account_padding"
|
android:layout_width="match_parent"
|
||||||
>
|
android:layout_height="match_parent"
|
||||||
|
android:padding="@dimen/dialog_add_account_padding"
|
||||||
|
>
|
||||||
|
|
||||||
<net.dankito.banking.ui.android.views.FormEditText
|
<net.dankito.banking.ui.android.views.FormEditText
|
||||||
android:id="@+id/edtxtBank"
|
android:id="@+id/edtxtBank"
|
||||||
|
@ -37,6 +39,7 @@
|
||||||
android:id="@+id/edtxtPassword"
|
android:id="@+id/edtxtPassword"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
app:showPasswordToggle="true"
|
||||||
android:hint="@string/online_banking_credentials_password"
|
android:hint="@string/online_banking_credentials_password"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -82,6 +82,7 @@
|
||||||
android:id="@+id/edtxtPassword"
|
android:id="@+id/edtxtPassword"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
app:showPasswordToggle="true"
|
||||||
android:hint="@string/online_banking_credentials_password"
|
android:hint="@string/online_banking_credentials_password"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
<attr name="android:hint" />
|
<attr name="android:hint" />
|
||||||
<attr name="android:inputType" />
|
<attr name="android:inputType" />
|
||||||
<attr name="android:selectAllOnFocus" />
|
<attr name="android:selectAllOnFocus" />
|
||||||
|
<attr name="showPasswordToggle" format="boolean"/>
|
||||||
|
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue