Skip to content
Snippets Groups Projects
Commit 28f69487 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix referring wrong TypedArray

Change-Id: I2a8f00edb579e24e612e839498ece097e9d3d7f6
parent 1e39565b
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> { ...@@ -169,7 +169,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> {
keyboardAttr.recycle(); keyboardAttr.recycle();
TypedArray keyAttr = res.obtainAttributes(Xml.asAttributeSet(parser), TypedArray keyAttr = res.obtainAttributes(Xml.asAttributeSet(parser),
R.styleable.Keyboard_Key); R.styleable.Keyboard_Key);
mDefaultKeyWidth = KeyboardBuilder.getDimensionOrFraction(keyboardAttr, mDefaultKeyWidth = KeyboardBuilder.getDimensionOrFraction(keyAttr,
R.styleable.Keyboard_Key_keyWidth, params.mBaseWidth, params.mDefaultKeyWidth); R.styleable.Keyboard_Key_keyWidth, params.mBaseWidth, params.mDefaultKeyWidth);
keyAttr.recycle(); keyAttr.recycle();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment