com.neomades.app.Keyboard |
Representation of the virtual keyboard to manage it programmatically.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
hide(View view)
Hides the opened keyboard on the current | ||||||||||
abstract void |
hide()
Hides the opened keyboard. | ||||||||||
abstract void |
show(TextArea focusedTextArea)
Shows the keyboard for the selected | ||||||||||
abstract void |
show(TextField focusedTextField)
Shows the keyboard for the selected |
Hides the opened keyboard on the current View
. More restrictive than hide()
but work in complex cases (keyboard open over a dialog for example).
Hides the opened keyboard. This may not work in some context (dialog for example), prefer
the usage of hide(View)
in this case.
If the keyboard is already closed then this method does nothing.
Shows the keyboard for the selected TextArea
.
If the TextArea
is not visible on the screen then the screen
will scroll its content to set the field visible.
Shows the keyboard for the selected TextField
.
If the TextField
is not visible on the screen then the screen
will scroll its content to set the field visible.