Android 1.5 added the Software virtual keyboard function, so there will be a corresponding soft keyboard mode in the input prompt
The InputType property in Android plays an important role in the style of the virtual keyboard that is launched when EditText enters values. This is also greatly facilitated by the operation. Sometimes a virtual keyboard is required only for characters or numbers only. So inputtype is especially important.
<edittext android:layout_width= "fill_parent" android:layout_height= "Wrap_content"android:inputtype= "Phone"/>
Text types, many uppercase, lowercase, and number symbols.
Android:inputtype= "None"
Android:inputtype= "Text"
Android:inputtype= "Textcapcharacters" letter capitalization
Android:inputtype= "Textcapwords" first letter capitalization
Android:inputtype= "Textcapsentences" only the first letter of capitalization
Android:inputtype= "Textautocorrect" auto-complete
Android:inputtype= "Textautocomplete" auto-complete
Android:inputtype= "Textmultiline" multi-line input
Android:inputtype= "Textimemultiline" Input method multiple lines (if supported)
Android:inputtype= "Textnosuggestions" does not prompt
android:inputtype= "Texturi" url
Android:inputtype= "textemailaddress" email address
Android:inputtype= "textemailsubject" message subject
Android:inputtype= "Textshortmessage" SMS
Android:inputtype= "Textlongmessage" long message
Android:inputtype= "Textpersonname" name
Android:inputtype= "Textpostaladdress" address
android:inputtype= "Textpassword" password
Android:inputtype= "Textvisiblepassword" Visible password
Android:inputtype= "Textwebedittext" as the text of a Web Form
Android:inputtype= "TextFilter" Text filter filter
Android:inputtype= "textphonetic" Pinyin input
Numeric type
Android:inputtype= "Number" numbers
Android:inputtype= "numbersigned" signed number format
Android:inputtype= "Numberdecimal" floating-point format with decimal point
Android:inputtype= "Phone" dial pad
Android:inputtype= "datetime" Time Date
Android:inputtype= "Date" dates keyboard
Android:inputtype= "Time" keyboard