Keyboard.Row can have keyLabelFlags attribute

Change-Id: I5af1f1d88153068d7be6e496e6dd77bd5b09a894
main
Tadashi G. Takaoka 2013-08-19 11:45:30 +09:00
parent 0154e3620f
commit 221929c643
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}