- Added "Show Password" checkbox to password prompt.

This commit is contained in:
Juha Heinanen
2020-04-02 09:39:58 +03:00
parent 37777fc493
commit 3d30e38b79
4 changed files with 27 additions and 1 deletions
+9 -1
View File
@@ -8,14 +8,22 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
<AutoCompleteTextView
<EditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:importantForAutofill="no"
android:hint="@string/password"
android:imeOptions="actionDone"
android:inputType="textPassword" />
<CheckBox
android:id="@+id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/show_password"
android:checked="false"/>
</android.support.design.widget.TextInputLayout>
</FrameLayout>