Tweak vertical gap of Emoji palette. DO NOT MERGE
cherrypick of I8163568a9d7f9d321148001e161c672f78796c96 Bug: 11140087 Change-Id: Ifd28f3017a8cf568a8c4a1045811564a129d85b7
This commit is contained in:
parent
2d74136e57
commit
3a9ae65525
1 changed files with 2 additions and 2 deletions
|
@ -184,12 +184,12 @@ public class DynamicGridKeyboard extends Keyboard {
|
|||
|
||||
private int getKeyY0(final int index) {
|
||||
final int row = index / mColumnsNum;
|
||||
return row * mVerticalStep;
|
||||
return row * mVerticalStep + mVerticalGap / 2;
|
||||
}
|
||||
|
||||
private int getKeyY1(final int index) {
|
||||
final int row = index / mColumnsNum + 1;
|
||||
return row * mVerticalStep;
|
||||
return row * mVerticalStep + mVerticalGap / 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue