Keyboard.Row can have keyLabelFlags attribute
Change-Id: I5af1f1d88153068d7be6e496e6dd77bd5b09a894
This commit is contained in:
parent
0154e3620f
commit
221929c643
1 changed files with 1 additions and 2 deletions
|
@ -64,12 +64,11 @@ public final class KeyboardRow {
|
|||
R.styleable.Keyboard_Key);
|
||||
mDefaultKeyWidth = keyAttr.getFraction(R.styleable.Keyboard_Key_keyWidth,
|
||||
params.mBaseWidth, params.mBaseWidth, params.mDefaultKeyWidth);
|
||||
mDefaultKeyLabelFlags = keyAttr.getInt(R.styleable.Keyboard_Key_keyLabelFlags, 0);
|
||||
mDefaultBackgroundType = keyAttr.getInt(R.styleable.Keyboard_Key_backgroundType,
|
||||
Key.BACKGROUND_TYPE_NORMAL);
|
||||
keyAttr.recycle();
|
||||
|
||||
// TODO: Initialize this with <Row> attribute as backgroundType is done.
|
||||
mDefaultKeyLabelFlags = 0;
|
||||
mCurrentY = y;
|
||||
mCurrentX = 0.0f;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue