Merge "Tweak vertical gap of Emoji palette. DO NOT MERGE" into klp-dev

This commit is contained in:
Ken Wakasa 2013-10-10 03:39:28 +00:00 committed by Android (Google) Code Review
commit 6dac27eeb4

View file

@ -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