am 221929c6
: Keyboard.Row can have keyLabelFlags attribute
* commit '221929c64302579dd7b4c02d8fab3aed3b8ec8db': Keyboard.Row can have keyLabelFlags attribute
This commit is contained in:
commit
ba24343a24
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