Fix mismatched attribute in KeyboardView
This is a followup of Iea7f8f34. Bug: 5023981 Change-Id: Ice6d949581aea7ca68799be2b91ff28234dd88d6
This commit is contained in:
parent
60dfe896d4
commit
3e63fbe400
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
|
||||||
|
|
||||||
public KeyDrawParams(TypedArray a) {
|
public KeyDrawParams(TypedArray a) {
|
||||||
mKeyBackground = a.getDrawable(R.styleable.KeyboardView_keyBackground);
|
mKeyBackground = a.getDrawable(R.styleable.KeyboardView_keyBackground);
|
||||||
if (a.hasValue(R.styleable.KeyboardView_keyLabelSize)) {
|
if (a.hasValue(R.styleable.KeyboardView_keyLetterSize)) {
|
||||||
mKeyLetterRatio = UNDEFINED_RATIO;
|
mKeyLetterRatio = UNDEFINED_RATIO;
|
||||||
mKeyLetterSize = a.getDimensionPixelSize(
|
mKeyLetterSize = a.getDimensionPixelSize(
|
||||||
R.styleable.KeyboardView_keyLetterRatio, 0);
|
R.styleable.KeyboardView_keyLetterRatio, 0);
|
||||||
|
|
Loading…
Reference in a new issue