Hello I am trying to set hint text of EditText
to password chars but currently when I start to type then chars appear like password chars but hint text appear as simple text form so Is it possible to make hint text of password field to password character instead of simple plain text.
See in the below screenshot it is displaying "Password" in simple text format and I want this should show password chars.
I tried this thread solution Android EditText for password with android:hint but did not work for me
<EditText
android:id="@+id/passwordEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/sign_up_views_vertical_top_margin"
android:background="@drawable/edittext_border"
android:drawableLeft="@drawable/password_drawable"
android:drawablePadding="10dp"
android:hint="@string/sign_up_password"
android:ellipsize="start"
android:imeOptions="actionNext"
android:inputType="textPassword"
android:singleLine="true"
android:textColorHint="@android:color/black" />