EditText is a subclass of the TextView class, so the properties of TextView EditView also have
property names, indicating that the
hint sets the text information displayed by the prompt string
text tag
cursorVisible whether the cursor is visible or not
editable sets whether to allow editing
textColor Set the color of the text
textSize Set the size of the text
inputType Set the keyboard type that matches the input data
digits Set which characters are allowed to be entered InputType
property: Set the type of text, used to help the input method display
the appropriate keyboard type First letter size textCapSentences first letter size only textAutoCorrect, textAutoComplete autocomplete textMultiLine
Multi-line input
extImeMultiLine input method multi-line (if supported)
textNoSuggestions no prompt
textEmailAddress email address
textEmailSubject mail subject
textShortMessage short message
textLongMessage long message
textPersonName person name
textPostalAddress address
textPassword password
textVisiblePassword visible password
textWebEditText as the text of the web form
textFilte text filter filter
textPhonetic pinyin input
numberSigned signed number format
numberDecimal
Floating point format phone phone number with decimal point
datetime date
date date
time time
Related properties of EditText
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326836027&siteId=291194637
Recommended
Ranking