EditText InputType Keyboard

by / Tuesday, 06 August 2013 / Published in Android

EditText configures itself to be editable.Input type defines the basic content type of text held in an editable object.

Code For xml:

android:inputType="text"

android:inputType="number"

android:inputType="textEmailAddress"

Code for actiivity:

editText.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD);

 

TOP