EditText Common Properties

Source: Internet
Author: User


"One" specifies the soft keyboard type for the text input box

"Extended reading" Android:inputtype parameter type description

[HTML]View PlainCopy
  1. Android:inputtype="None"--Enter ordinary characters
  2. android:inputtype="Text"--Enter ordinary characters
  3. Android:inputtype="Textcapcharacters"--Enter ordinary characters
  4. Android:inputtype="Textcapwords"--the first letter size of the word
  5. Android:inputtype="Textcapsentences"--only the first letter of size
  6. Android:inputtype="Textautocorrect" – Top two auto-complete
  7. Android:inputtype="Textautocomplete" – Top two auto-complete
  8. Android:inputtype="Textmultiline"--Multi-line input
  9. Android:inputtype="Textimemultiline"--Input method multiple lines (not necessarily supported)
  10. Android:inputtype="Textnosuggestions"--not prompted
  11. Android:inputtype="Texturi"--uri format
  12. Android:inputtype="Textemailaddress"--e-mail address format
  13. Android:inputtype="Textemailsubject"--mail subject format
  14. Android:inputtype="Textshortmessage"--Short message format
  15. Android:inputtype="Textlongmessage"--long message format
  16. Android:inputtype="Textpersonname"--name format
  17. Android:inputtype="textpostaladdress"--Postal format
  18. Android:inputtype="Textpassword"--Password format
  19. Android:inputtype="Textvisiblepassword"--Password visible format
  20. Android:inputtype="Textwebedittext"-text format as a Web Form
  21. Android:inputtype="TextFilter"--Text filter format
  22. Android:inputtype="textphonetic"--Pinyin input format
  23. Android:inputtype="number"-Digital format
  24. Android:inputtype="numbersigned"--Signed number format
  25. Android:inputtype="Numberdecimal"--floating point format with decimal point
  26. android:inputtype="Phone"--dial keypad
  27. android:inputtype="datetime"
  28. android:inputtype="Date"--date keyboard
  29. Android:inputtype="Time"--timing keyboard

"Two" soft keyboard return icon settings

"Three" instance source code

Transferred from: http://blog.csdn.net/wirelessqa/article/details/8567327

EditText Common Properties

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.