Fix referring wrong TypedArray
Change-Id: I2a8f00edb579e24e612e839498ece097e9d3d7f6main
parent
1e39565bb4
commit
28f6948745
|
@ -169,7 +169,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> {
|
|||
keyboardAttr.recycle();
|
||||
TypedArray keyAttr = res.obtainAttributes(Xml.asAttributeSet(parser),
|
||||
R.styleable.Keyboard_Key);
|
||||
mDefaultKeyWidth = KeyboardBuilder.getDimensionOrFraction(keyboardAttr,
|
||||
mDefaultKeyWidth = KeyboardBuilder.getDimensionOrFraction(keyAttr,
|
||||
R.styleable.Keyboard_Key_keyWidth, params.mBaseWidth, params.mDefaultKeyWidth);
|
||||
keyAttr.recycle();
|
||||
|
||||
|
|
Loading…
Reference in New Issue