Java code
- Parameters of the InputType:
Java code
- Usage: ((EditText) Findviewbyid (R.id.edit)). Setinputtype (inputtype.*);
Java code
- int Type_class_datetime CLASS for dates and times .
- int Type_class_number CLASS for numeric text.
- int Type_class_phone CLASS for a PHONE number.
- int Type_class_text CLASS for normal TEXT.
- int type_datetime_variation_date Default Variation of type_class_datetime:allows entering only a DATE.
- int type_datetime_variation_normal Default Variation of type_class_datetime:allows entering both a date and time. int type_datetime_variation_time Default Variation of type_class_datetime:allows entering only a time.
- int Type_mask_class MASK of bits that determine the overall CLASS of text being given.
- int Type_mask_flags MASK of bits that provide addition bit FLAGS of options.
- int type_mask_variation MASK of bits that determine the variation of the base content class.
- int Type_null Special content type for when no explicit (explicit) type has been specified.
- int Type_number_flag_decimal FLAG of type_class_number:the number is decimal, allowing a decimal point to provide Fractional values.
- int type_number_flag_signed FLAG of type_class_number:the number is signed, allowing a positive or negative sign At the start.
- int type_text_flag_auto_complete FLAG for type_class_text:the TEXT Editor is performing auto-completion of the Text being entered based on its own semantics, which it would present to the user as they type.
- int type_text_flag_auto_correct FLAG for type_class_text:the user was entering Free-form TEXT that should has Auto-correction applied to it.
- int type_text_flag_cap_characters FLAG for type_class_text:capitalize all characters.
- int type_text_flag_cap_sentences FLAG for type_class_text:capitalize first character of each sentence.
- int type_text_flag_cap_words FLAG for type_class_text:capitalize first character of all WORDS.
- int type_text_flag_ime_multi_line FLAG for type_class_text:the regular TEXT view associated with this should Not being multi-line, but when a fullscreen input method was providing text it should use multiple lines if it can.
- int type_text_flag_multi_line FLAG for type_class_text:multiple lines of TEXT can is entered into the field.
- int type_text_flag_no_suggestions FLAG for type_class_text:the Input method does not need to display any Dictiona Ry-based candidates.
- int type_text_variation_email_address Variation of type_class_text:entering an e-mail ADDRESS.
- int Type_text_variation_email_subject Variation of type_class_text:entering the SUBJECT line of an e-mail.
- int type_text_variation_filter Variation of type_class_text:entering TEXT to FILTER contents of a list etc.
- int type_text_variation_long_message Variation of type_class_text:entering The content of a LONG, possibly formal Message such as the body of an e-mail.
- int type_text_variation_normal Default Variation of Type_class_text:plain old NORMAL TEXT.
- int Type_text_variation_password Variation of type_class_text:entering a PASSWORD.
- int Type_text_variation_person_name Variation of type_class_text:entering The NAME of a person.
- int type_text_variation_phonetic Variation of type_class_text:entering TEXT for PHONETIC pronunciation, such as a Phonetic Name field in Contacts.
- int type_text_variation_postal_address Variation of type_class_text:entering a POSTAL mailing ADDRESS.
- int type_text_variation_short_message Variation of type_class_text:entering a short , possibly informal MESSAGE s Uch as an instant message or a text message.
- int Type_text_variation_uri Variation of type_class_text:entering a URI.
- int Type_text_variation_visible_password Variation of type_class_text:entering a PASSWORD, which should is VISIBLE to The user.
- int Type_text_variation_web_edit_text Variation of type_class_text:entering TEXT inside of a WEB form. EditText et = (EditText) Findviewbyid (r.id.et); Et.setinputtype (Inputtype.type_class_number); Type_class_datetime CLASS for dates and times .
- int Type_class_number CLASS for numeric text.
- int Type_class_phone CLASS for a PHONE number.
- int Type_class_text CLASS for normal TEXT.
- int type_datetime_variation_date Default Variation of type_class_datetime:allows entering only a DATE.
- int type_datetime_variation_normal Default Variation of type_class_datetime:allows entering both a date and time. int type_datetime_variation_time Default Variation of type_class_datetime:allows entering only a time.
- int Type_mask_class MASK of bits that determine the overall CLASS of text being given.
- int Type_mask_flags MASK of bits that provide addition bit FLAGS of options.
- int type_mask_variation MASK of bits that determine the variation of the base content class.
- int Type_null Special content type for if no explicit type has been specified.
- int Type_number_flag_decimal FLAG of type_class_number:the number is decimal, allowing a decimal point to provide FRA Ctional values.
- int type_number_flag_signed FLAG of type_class_number:the number is signed, allowing a positive or negative sign at t He start.
- int type_text_flag_auto_complete FLAG for type_class_text:the TEXT Editor is performing auto-completion of the Te XT being entered based on its own semantics, which it would present to the user as they type.
- int type_text_flag_auto_correct FLAG for type_class_text:the user was entering Free-form TEXT that should has AUT O-correction applied to it.
- int type_text_flag_cap_characters FLAG for type_class_text:capitalize all characters.
- int type_text_flag_cap_sentences FLAG for type_class_text:capitalize first character of each sentence.
- int type_text_flag_cap_words FLAG for type_class_text:capitalize first character of all WORDS.
- int type_text_flag_ime_multi_line FLAG for type_class_text:the regular TEXT view associated with this should Not being multi-line, but when a fullscreen input method was providing text it should use multiple lines if it can.
- int type_text_flag_multi_line FLAG for type_class_text:multiple lines of TEXT can is entered into the field.
- int type_text_flag_no_suggestions FLAG for type_class_text:the Input method does not need to display any Dictiona Ry-based candidates.
- int type_text_variation_email_address Variation of type_class_text:entering an e-mail ADDRESS.
- int Type_text_variation_email_subject Variation of type_class_text:entering the SUBJECT line of an e-mail.
- int type_text_variation_filter Variation of type_class_text:entering TEXT to FILTER contents of a list etc.
- int type_text_variation_long_message Variation of type_class_text:entering The content of a LONG, possibly formal Message such as the body of an e-mail.
- int type_text_variation_normal Default Variation of Type_class_text:plain old NORMAL TEXT.
- int Type_text_variation_password Variation of type_class_text:entering a PASSWORD.
- int Type_text_variation_person_name Variation of type_class_text:entering The NAME of a person.
- int type_text_variation_phonetic Variation of type_class_text:entering TEXT for PHONETIC pronunciation, such as a Phonetic Name field in Contacts.
- int type_text_variation_postal_address Variation of type_class_text:entering a POSTAL mailing ADDRESS.
- int type_text_variation_short_message Variation of type_class_text:entering a short , possibly informal MESSAGE s Uch as an instant message or a text message.
- int Type_text_variation_uri Variation of type_class_text:entering a URI.
- int Type_text_variation_visible_password Variation of type_class_text:entering a PASSWORD, which should is VISIBLE to The user.
- int Type_text_variation_web_edit_text Variation of type_class_text:entering TEXT inside of a WEB form.
Android----Input Mode settings