You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`keyboard:numberkeyboard_numberKeyBackground="[reference]"` (default: circle): number keys background drawable.
58
-
-`keyboard:numberkeyboard_numberKeyTextColor="[reference]"` (default: dark blue): number keys text color.
59
-
-`keyboard:numberkeyboard_numberKeyTypeface="[reference]"` (default: dark blue): number keys text color.
60
-
-`keyboard:numberkeyboard_numberKeyTypeface="[reference]"` (default: none): number keys text typeface.
61
-
-`keyboard:numberkeyboard_numberKeyTextSize="[dimension]"` (default: none): number keys text size (if it is not set, the text auto scales to fit the key).
62
-
-`keyboard:numberkeyboard_leftAuxBtnBackground="[reference]"` (default: none): if `keyboardType="custom"`, left auxiliary button background.
63
-
-`keyboard:numberkeyboard_rightAuxBtnIcon="[reference]"` (default: none): if `keyboardType="custom"`, icon shown in right auxiliary button.
64
-
-`keyboard:numberkeyboard_rightAuxBtnBackground="[reference]"` (default: none): if `keyboardType="custom"`, right auxiliary button background.
65
-
66
-
#### Methods
67
-
68
-
-`hideLeftAuxButton()`: hides left auxiliary button.
69
-
-`showLeftAuxButton()`: shows left auxiliary button.
70
-
-`hideRightAuxButton()`: hides right auxiliary button.
71
-
-`showRightAuxButton()`: shows right auxiliary button.
72
-
-`setKeyWidth()`: sets key width in px.
73
-
-`setKeyHeight()`: sets key height in px.
74
-
-`setKeyPadding()`: sets key padding in px.
75
-
-`setNumberKeyBackground()`: sets number keys background.
76
-
-`setNumberKeyTextColor()`: sets number keys text color.
77
-
-`setNumberKeyTypeface()`: sets number keys text typeface.
78
-
-`setNumberKeyTextSize()`: sets number keys text size in pixels.
79
-
-`setLeftAuxButtonIcon()`: sets left auxiliary button icon.
80
-
-`setRightAuxButtonIcon()`: sets right auxiliary button icon.
81
-
-`setLeftAuxButtonBackground()`: sets left auxiliary button background.
82
-
-`setRightAuxButtonBackground()`: sets right auxiliary button background.
83
-
84
-
#### Callback
85
-
86
-
To listen to keyboard events, you have to use `NumberKeyboardListener`:
87
-
88
-
-`onNumberClicked()`: invoked when a number key is clicked.
89
-
-`onLeftAuxButtonClicked()`: invoked when the left auxiliary button is clicked.
90
-
-`onRightAuxButtonClicked()`: invoked when the right auxiliary button is clicked.
0 commit comments