Merge "Fix referring wrong TypedArray (DO NOT MERGE)" into ics-mr1
commit
0e39e820ce
|
@ -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