background image
C H A P T E R 8
Text and Ink Input and Display
8-30
Using Text
protoSmallKeyboardButton
8
This proto is used to include a small keyboard button in a view. Tapping the button
causes the on-screen keyboard to appear. If the keyboard is already displayed, a
picker listing available keyboard types is displayed. The user can tap one to open
that keyboard.
Figure 8-12 shows an example of the small keyboard button.
Figure 8-12
The small keyboard button
protoAlphaKeyboard
8
This proto is used to include an alphanumeric keyboard in a view. This is the same
as the
'alphaKeyboard
keyboard view provided in the root view, as described in
"Keyboard Views" (page 8-26). An example of
protoAlphaKeyboard
is shown
in Figure 8-6 (page 8-26).
protoNumericKeyboard
8
This proto is used to include a numeric keyboard in a view. This is the same as the
'numericKeyboard
keyboard view provided in the root view, as described in
"Keyboard Views" (page 8-26). An example of
protoNumericKeyboard
is
shown in Figure 8-7 (page 8-27).
protoPhoneKeyboard
8
This proto is used to include a phone keyboard in a view. This is the same as the
'phoneKeyboard
keyboard view provided in the root view, as described in
"Keyboard Views" (page 8-26). An example of
protoPhoneKeyboard
is shown
in Figure 8-8 (page 8-27).
protoDateKeyboard
8
This proto is used to include a time and date keyboard in a view. This is the same
as the
'dateKeyboard
keyboard view provided in the root view, as described in
"Keyboard Views" (page 8-26). An example of
protoDateKeyboard
is shown
in Figure 8-9 (page 8-27).
Defining Keys in a Keyboard View
8
When you define a keyboard view, you need to specify the appearance and behavior
of each key in the keyboard. This section presents the definition of an example
keyboard view, which is shown in Figure 8-13 (page 8-31).
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна