King Keyboard View
Types
Functions
Returns the current keyboard being displayed by this view.
隐藏系统输入法
Requests a redraw of the entire keyboard. Calling invalidate is not sufficient because the keyboard renders the keys to an off-screen buffer and an invalidate() only draws the cached buffer.
Invalidates a key so that it will be redrawn on the next repaint. Use this method if only one key is changing it's content. Any changes that affect the position or size of the key may not be honored.
Returns the enabled state of the key feedback popup.
Returns true if proximity correction is enabled.
Attaches a keyboard to this view. The keyboard can be switched at any time and the view will re-layout itself to accommodate the keyboard.
Enables or disables the key feedback popup. This is a popup that shows a magnified version of the depressed key. By default the preview is enabled.
When enabled, calls to onKey will include key codes for adjacent keys. When disabled, only the primary key code will be reported.
Sets the state of the shift key of the keyboard, if any.
显示系统输入法