Skip to content

Most visited

Recently visited

added in API level 3


Base classes for writing input methods (such as software keyboards). These APIs are not for use by normal applications, they are a framework specifically for writing input method components. Implementations will typically derive from InputMethodService.


KeyboardView.OnKeyboardActionListener Listener for virtual keyboard events. 


AbstractInputMethodService AbstractInputMethodService provides a abstract base class for input methods. 
AbstractInputMethodService.AbstractInputMethodImpl Base class for derived classes to implement their InputMethod interface. 
AbstractInputMethodService.AbstractInputMethodSessionImpl Base class for derived classes to implement their InputMethodSession interface. 
ExtractEditText Specialization of EditText for showing and interacting with the extracted text in a full-screen input method. 
InputMethodService InputMethodService provides a standard implementation of an InputMethod, which final implementations can derive from and customize. 
InputMethodService.InputMethodImpl Concrete implementation of AbstractInputMethodService.AbstractInputMethodImpl that provides all of the standard behavior for an input method. 
InputMethodService.InputMethodSessionImpl Concrete implementation of AbstractInputMethodService.AbstractInputMethodSessionImpl that provides all of the standard behavior for an input method session. 
InputMethodService.Insets Information about where interesting parts of the input method UI appear. 
Keyboard Loads an XML description of a keyboard and stores the attributes of the keys. 
Keyboard.Key Class for describing the position and characteristics of a single key in the keyboard. 
Keyboard.Row Container for keys in the keyboard. 
KeyboardView A view that renders a virtual Keyboard
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)