Row
open classRow
| 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!) |
|
| 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:horizontalGapandroid:keyHeight
android:keyHeightandroid:keyWidth
android:keyWidthandroid:keyboardMode
android:keyboardModeandroid:rowEdgeFlags
android:rowEdgeFlagsandroid:verticalGap
android:verticalGapPublic constructors
Properties
defaultHeight
vardefaultHeight: Int
Deprecated: Deprecated in Java.
Default height of a key in this row.
defaultHorizontalGap
vardefaultHorizontalGap: Int
Deprecated: Deprecated in Java.
Default horizontal gap between keys in this row.
defaultWidth
vardefaultWidth: Int
Deprecated: Deprecated in Java.
Default width of a key in this row.
mode
varmode: Int
Deprecated: Deprecated in Java.
The keyboard mode for this row
rowEdgeFlags
varrowEdgeFlags: 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
varverticalGap: Int
Deprecated: Deprecated in Java.
Vertical gap following this row.