Keyboard is used for entering text, numbers, special characters, and emoticons.
Keyboard types
Keyboard types come with two main layouts; QWERTY and ITU-T. They are available in both portrait and landscape orientation.
QWERTY keyboard
|
- Has variations for different kinds of input needs.
- The text field informs the system of what kind of keyboard is opened.
- Can also hold different kind of input content based on used language or selected mode.
|
ITU-T keyboard
- Alternative layout for the QWERTY keyboard.
- Uses the standard ITU-T layout, where one key contains multiple characters.
- Is familiar from monoblock non-touch devices.
Input constraints
You should always define what kind of input you expect from the user; email address, numeric input, or a phone number, for example. That way it is easier for the user; they can just start typing because the correct mode is already chosen for the keypad. The restrictive constraint settings are as follows:
- ANY
- EMAILADDR
- NUMERIC
- PHONENUMBER
- URL
- DECIMAL
In addition, you can define modifier flags for the text entry. For example, when asking for a password, you should use the PASSWORD flag. Other modifier flags are:
- UNEDITABLE
- SENSITIVE
- NON_PREDICTIVE
- INITIAL_CAPS_WORD
- INITIAL_CAPS_SENTENCE