Added in API level 3
Deprecated in API level 29

Row


open class Row
kotlin.Any
   ↳ android.inputmethodservice.Keyboard.Row

Container for keys in the keyboard. All keys in a row are at the same Y-coordinate. Some of the key size defaults can be overridden per row from what the Keyboard defines.

Summary

XML attributes
android:horizontalGap Default horizontal gap between keys.
android:keyHeight Default height of a key, in pixels or percentage of display width.
android:keyWidth Default width of a key, in pixels or percentage of display width.
android:keyboardMode Mode of the keyboard.
android:rowEdgeFlags Row edge flags.
android:verticalGap Default vertical gap between rows of keys.
Public constructors
Row(res: Resources!, parent: Keyboard!, parser: XmlResourceParser!)

Row(parent: Keyboard!)

Properties
Int

Default height of a key in this row.

Int

Default horizontal gap between keys in this row.

Int

Default width of a key in this row.

Int

The keyboard mode for this row

Int

Edge flags for this row of keys.

Int

Vertical gap following this row.

XML attributes

android:horizontalGap

android:horizontalGap
Default horizontal gap between keys.

android:keyHeight

android:keyHeight
Default height of a key, in pixels or percentage of display width.

android:keyWidth

android:keyWidth
Default width of a key, in pixels or percentage of display width.

android:keyboardMode

android:keyboardMode
Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the row will be skipped.

android:rowEdgeFlags

android:rowEdgeFlags
Row edge flags.

android:verticalGap

android:verticalGap
Default vertical gap between rows of keys.

Public constructors

Row

Added in API level 3
Row(
    res: Resources!,
    parent: Keyboard!,
    parser: XmlResourceParser!)

Row

Added in API level 3
Row(parent: Keyboard!)

Properties

defaultHeight

Added in API level 3
var defaultHeight: Int

Deprecated: Deprecated in Java.

Default height of a key in this row.

defaultHorizontalGap

Added in API level 3
var defaultHorizontalGap: Int

Deprecated: Deprecated in Java.

Default horizontal gap between keys in this row.

defaultWidth

Added in API level 3
var defaultWidth: Int

Deprecated: Deprecated in Java.

Default width of a key in this row.

mode

Added in API level 3
var mode: Int

Deprecated: Deprecated in Java.

The keyboard mode for this row

rowEdgeFlags

Added in API level 3
var rowEdgeFlags: Int

Deprecated: Deprecated in Java.

Edge flags for this row of keys. Possible values that can be assigned are EDGE_TOP and EDGE_BOTTOM

verticalGap

Added in API level 3
var verticalGap: Int

Deprecated: Deprecated in Java.

Vertical gap following this row.