abouttreesummaryrefslogcommitdiff
path: root/res/values/dimens.xml
diff options
context:
space:
mode:
authorJules Aguillon2022-02-13 15:58:30 +0100
committerJules Aguillon2022-02-13 15:58:30 +0100
commitc05fdea76554a8e95a8c63f5bb72ca9e0003a382 (patch)
tree059e544418dcf68c137bbb432e33b96866245e74 /res/values/dimens.xml
parent4e98ab7515e58a1166acb36dc852166e3876fa56 (diff)
downloadunexpected-keyboard-c05fdea76554a8e95a8c63f5bb72ca9e0003a382.tar.gz
unexpected-keyboard-c05fdea76554a8e95a8c63f5bb72ca9e0003a382.zip
Define the height of the keyboard relative to the screen size
Depending on the pixel density isn't ideal for a keyboard, which would render differently depending on the "scaling" accessibility option. Landscape mode needs a special values. At the same time, increase the horizontal margin when landscape.
Diffstat (limited to 'res/values/dimens.xml')
-rw-r--r--res/values/dimens.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index fce808b..59dbfef 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -12,4 +12,5 @@
<dimen name="emoji_type_button_height">56dp</dimen>
<dimen name="emoji_grid_height">250dp</dimen>
<dimen name="emoji_text_size">28dp</dimen>
+ <dimen name="landscape_extra_horizontal_margin">20dp</dimen>
</resources>