Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Monday, May 21, 2012
EditText, inputType values (xml)
Where can I find the values that inputType can have?
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