Fix key label padding
Change-Id: I971dd17afdaf1ce6e64e3c41bdb42a6ba3f6fd0e
This commit is contained in:
parent
666a433802
commit
36b5f4aae2
1 changed files with 4 additions and 4 deletions
|
@ -221,13 +221,13 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
|
|||
mKeyDrawParams = new KeyDrawParams(keyboardViewAttr, keyAttr);
|
||||
mKeyPreviewDrawParams = new KeyPreviewDrawParams(keyboardViewAttr, keyAttr);
|
||||
mDelayAfterPreview = mKeyPreviewDrawParams.mLingerTimeout;
|
||||
mKeyLabelHorizontalPadding = keyAttr.getDimensionPixelOffset(
|
||||
mKeyLabelHorizontalPadding = keyboardViewAttr.getDimensionPixelOffset(
|
||||
R.styleable.KeyboardView_keyLabelHorizontalPadding, 0);
|
||||
mKeyHintLetterPadding = keyAttr.getDimension(
|
||||
mKeyHintLetterPadding = keyboardViewAttr.getDimension(
|
||||
R.styleable.KeyboardView_keyHintLetterPadding, 0);
|
||||
mKeyPopupHintLetterPadding = keyAttr.getDimension(
|
||||
mKeyPopupHintLetterPadding = keyboardViewAttr.getDimension(
|
||||
R.styleable.KeyboardView_keyPopupHintLetterPadding, 0);
|
||||
mKeyShiftedLetterHintPadding = keyAttr.getDimension(
|
||||
mKeyShiftedLetterHintPadding = keyboardViewAttr.getDimension(
|
||||
R.styleable.KeyboardView_keyShiftedLetterHintPadding, 0);
|
||||
mKeyPreviewLayoutId = keyboardViewAttr.getResourceId(
|
||||
R.styleable.KeyboardView_keyPreviewLayout, 0);
|
||||
|
|
Loading…
Reference in a new issue