Merge "Fix referring wrong TypedArray"
This commit is contained in:
commit
6c1c546a98
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue