Articles‎ > ‎Android Articles‎ > ‎

EditText Password in Android

posted Jan 26, 2011, 11:29 PM by Thiyagaraaj Mp   [ updated Feb 1, 2011, 7:21 AM ]

Syntax:

android:password="true"

Example XML Code:

<EditText android:id="@+id/EdtTxt"
android:layout_width="wrap_content"
android:layout_height="wrap_con
tent"
android:text="Im Text"
android:password="true" />