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?
Source: Tips4all, CCNA FINAL EXAM
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
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?
You can use the properties tab in eclipse to set various values.
ReplyDeletehere 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
For more info refer to the link in @Josh 's comment :-)
A bit late in the day, but I think this might be what you're looking for:
ReplyDeletehttp://developer.android.com/reference/android/R.attr.html
This may be what you're lookng for:
ReplyDeletehttp://developer.android.com/reference/android/R.styleable.html#TextView_inputType