EditText, inputType values (XML)

You can use the properties tab in eclipse to set various values. here are all the possible values none text textCapCharacters textCapWords textCapSentences textAutoCorrect textAutoComplete textMultiLine textImeMultiLine textNoSuggestions textUri textEmailAddress textEmailSubject textShortMessage textLongMessage textPersonName textPostalAddress textPassword textVisiblePassword textWebEditText textFilter textPhonetic textWebEmailAddress textWebPassword number numberSigned numberDecimal numberPassword phone datetime date time Check here for explanations: http://developer.android.com/reference/android/widget/TextView.html#attr_android:inputType

I cannot change the inputType, hint anything for my EditText

You will get this result after drag and drop: <EditText android:id=”@+id/editText” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:ems=”10″ android:inputType=”textPersonName” android:text=”Name” /> What you need is to do : 1. If you want hint to show remove line ” android:text=”Name”” <EditText android:id=”@+id/editText” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:ems=”10″ android:inputType=”textPersonName” android:hint=”hint text goes here” />