The software virtual keyboard function is added after Android 1.5, so the corresponding soft keyboard mode will be displayed in the input prompt.
In Android, The inputtype attribute plays an important role in the style of the virtual keyboard started when the edittext value is input. This greatly facilitates operations. Sometimes the virtual keyboard is only a character or a number. Therefore, inputtype is particularly important.
<Edittext Android: layout_width = "fill_parent" Android: layout_height = "wrap_content"
Android: inputtype = "phone"/>
// Text type, mostly uppercase, lowercase, and numeric characters.
Android: inputtype = "NONE"
Android: inputtype = "text"
Android: inputtype = "textcapcharacters" uppercase letters
Android: inputtype = "textcapwords" uppercase letters
Android: inputtype = "textcapsentences" only uppercase letters
Android: inputtype = "textautocorrect" automatically completed
Android: inputtype = "textautocomplete" Automatic completion
Android: inputtype = "textmultiline" multi-line Input
Android: inputtype = "textimemultiline" multi-line Input Method (if supported)
Android: inputtype = "textnosuggestions" No prompt
Android: inputtype = "texturi" url
Android: inputtype = "textemailaddress" email address
Android: inputtype = "textemailsubject" Email Subject
Android: inputtype = "textreceivmessage" Short Message
Android: inputtype = "textlongmessage" long message
Android: inputtype = "textpersonname"
Android: inputtype = "textpostaladdress" Address
Android: inputtype = "textpassword" Password
Android: inputtype = "textvisiblepassword" visible Password
Android: inputtype = "textwebedittext" as the webpage form text
Android: inputtype = "textfilter" text filtering
Android: inputtype = "textphonetic" PinYin Input
// Numeric type
Android: inputtype = "Number" Number
Android: inputtype = "numbersigned" signed numeric format
Android: inputtype = "numberdecimal" floating point format with decimal point
Android: inputtype = "phone" dial-up keyboard
Android: inputtype = "datetime" time and date
Android: inputtype = "date" date keyboard
Android: inputtype = "time" time keyboard