Android.InputMethodServices.Keyboard Class
Loads an XML description of a keyboard and stores the attributes of the keys.

See Also: Keyboard Members

Syntax

[Android.Runtime.Register("android/inputmethodservice/Keyboard", DoNotGenerateAcw=true)]
public class Keyboard : Java.Lang.Object

Remarks

Loads an XML description of a keyboard and stores the attributes of the keys. A keyboard consists of rows of keys.

xml Example

 <Keyboard
         android:keyWidth="%10p"
         android:keyHeight="50px"
         android:horizontalGap="2px"
         android:verticalGap="2px" >
     <Row android:keyWidth="32px" >
         <Key android:keyLabel="A" />
         ...
     </Row>
     ...
 </Keyboard>
 

The layout file for a keyboard contains XML that looks like the following snippet:

[Android Documentation]

Requirements

Namespace: Android.InputMethodServices
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3