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
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…