am 85dec741: am 6dac27ee: Merge "Tweak vertical gap of Emoji palette. DO NOT MERGE" into klp-dev
* commit '85dec741a70bf455d9aae583982580dc79df0209': Tweak vertical gap of Emoji palette. DO NOT MERGEmain
commit
56e21a02f0
|
@ -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