views:

389

answers:

2

Where can I find the values that inputType can have?

I'm aware of http://developer.android.com/reference/android/text/InputType.html, but how should the values look like in layout xml files?

+3  A: 

You can use the properties tab in eclipse to set various values.

here are all the possible values

android:inputType="text|textCapCharacters|textCapWords|textCapSentences|textAutoCorrect|textAutoComplete|textMultiLine|textImeMultiLine|textNoSuggestions|textUri|textEmailAddress|textEmailSubject|textShortMessage|textLongMessage|textPersonName|textPostalAddress|textPassword|textVisiblePassword|textWebEditText|textFilter|textPhonetic|number|numberSigned|numberDecimal|phone|datetime|date|time"

and "none" :)

Ravi Vyas
A: 

A bit late in the day, but I think this might be what you're looking for: http://developer.android.com/reference/android/R.attr.html

ChrisV