Tweak vertical gap of Emoji palette
Bug: 11140087 Change-Id: I8163568a9d7f9d321148001e161c672f78796c96main
parent
83994ad66b
commit
30ef03d865
|
@ -184,12 +184,12 @@ public class DynamicGridKeyboard extends Keyboard {
|
||||||
|
|
||||||
private int getKeyY0(final int index) {
|
private int getKeyY0(final int index) {
|
||||||
final int row = index / mColumnsNum;
|
final int row = index / mColumnsNum;
|
||||||
return row * mVerticalStep;
|
return row * mVerticalStep + mVerticalGap / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int getKeyY1(final int index) {
|
private int getKeyY1(final int index) {
|
||||||
final int row = index / mColumnsNum + 1;
|
final int row = index / mColumnsNum + 1;
|
||||||
return row * mVerticalStep;
|
return row * mVerticalStep + mVerticalGap / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue