Is there any way to change the password text from dot(.) to asterisk(*) .
Password is entering in edittext.
<EditText
android:id="@+id/passWord1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:inputType="number"
android:password="true"/>
Insert edittext in your xml file,
and your class file go on and get findViewById from edittext and implement for this,
and This class implement for that,
Try this
Got answer with help of link posted by Ram kiran
In eclipse there will be hints when you click Ctrl + Space when you move cursor at
android:inputType
. Then you can see list of options. there you can selecttextPassword
If you want to see
*
in place of.
then check thisAndroid: Asterisk Password Field
For android:inputType, there is a type of password.