KeyboardView

KeyboardViewで、キーボードの表示とキーの押下を処理できます。

クラス階層

メソッド

public メソッド

メソッド 説明
closing  
getKeyboard Returns the current keyboard being displayed by this view.
handleBack  
invalidateAllKeys Requests a redraw of the entire keyboard.
invalidateKey Invalidates a key so that it will be redrawn on the next repaint.
isPreviewEnabled Returns the enabled state of the key feedback popup.
isProximityCorrectionEnabled Returns true if proximity correction is enabled.
isShifted Returns the state of the shift key of the keyboard, if any.
onDetachedFromWindow This is called when the view is detached from a window.
onDraw Implement this to do your drawing.
onMeasure Measure the view and its content to determine the measured width and the measured height.
onSizeChanged This is called during layout when the size of this view has changed.
onTouchEvent Implement this method to handle touch screen motion events.
setKeyboard このビューにKeyboardクラスのインスタンスを結びつける
setOnKeyboardActionListener KeyboardView.OnKeyboardActionListenerリスナを設定する
setPopupOffset  
setPopupParent  
setPreviewEnabled Enables or disables the key feedback popup.
setProximityCorrectionEnabled When enabled, calls to onKey(int, int[]) will include key codes for adjacent keys.
setShifted Sets the state of the shift key of the keyboard, if any.
setVerticalCorrection  
Androidの情報サイトから、まとめて検索