Android:inputtype Common values

Source: Internet
Author: User

<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"//Enter ordinary characters
Android:inputtype= "text"//input ordinary characters
Android:inputtype= "Textcapcharacters"//Enter ordinary characters
Android:inputtype= "textcapwords"//Word Initial letter size
Android:inputtype= "Textcapsentences"//only the first letter size
Android:inputtype= "Textautocorrect"//first two auto-complete
Android:inputtype= "Textautocomplete"//first two auto-complete
Android:inputtype= "Textmultiline"//multi-line input
Android:inputtype= "Textimemultiline"//Input method multiple lines (not necessarily supported)
Android:inputtype= "textnosuggestions"//Not prompted
Android:inputtype= "Texturi"//uri format
Android:inputtype= "textemailaddress"//e-mail address format
Android:inputtype= "Textemailsubject"//Email subject format
Android:inputtype= "Textshortmessage"//Short Message format
Android:inputtype= "Textlongmessage"//Long message format
Android:inputtype= "Textpersonname"//Name format
Android:inputtype= "textpostaladdress"//Postal format
Android:inputtype= "Textpassword"//Password format
Android:inputtype= "Textvisiblepassword"//Password visible format
Android:inputtype= "Textwebedittext"//As Text format for Web Forms
Android:inputtype= "TextFilter"//Text filter format
Android:inputtype= "textphonetic"//Pinyin input format
Numeric type
Android:inputtype= "number"//digital format
Android:inputtype= "numbersigned"//Signed number format
Android:inputtype= "Numberdecimal"//floating-point format with decimal point
Android:inputtype= "Phone"//dial pad
Android:inputtype= "datetime"//date + time format
Android:inputtype= "Date"//Date keyboard
Android:inputtype= "Time"//Timing keyboard

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.