Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 221929c6 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Keyboard.Row can have keyLabelFlags attribute

Change-Id: I5af1f1d88153068d7be6e496e6dd77bd5b09a894
parent 0154e362
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
    }