I'm trying to use EditText
with textPassword
input type. I faced a situation in which all the characters entering in the field were selected by double tap in android version 5 and 4.4 while this feature didn't work on android version 6.
Would you please help me to have this feature in all android versions?
This is my xml file:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<EditText
android:hint="Text Password Input Type"
android:inputType="textPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
This is the result: