I want to make editable text in which only alphabetic characters from az can be entered, no other numeric or special characters are allowed, so how do I do this?
I tried
<EditText **android:inputType="text"** android:id="@+id/state" android:singleLine="true" android:layout_marginTop="50dip" android:layout_marginLeft="100dip" android:layout_height="40dip" android:layout_width="200dip" />
but it takes all values, it means a numerical and special character. Also, how to limit it means that the user can enter only az values.
source share