mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-24 09:17:42 +00:00
Merge pull request #13655 from keymanapp/fix/android/banner-xhdpi
fix(android): adjust keyboard and banner height for xhdpi portrait
This commit is contained in:
commit
7488b2902f
2 changed files with 7 additions and 1 deletions
6
android/KMEA/app/src/main/res/values-xhdpi/dimens.xml
Normal file
6
android/KMEA/app/src/main/res/values-xhdpi/dimens.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Dimens for xhdpi Portrait (Phone) -->
|
||||
<resources>
|
||||
<dimen name="banner_height">50dp</dimen>
|
||||
<dimen name="keyboard_height">270dp</dimen>
|
||||
</resources>
|
||||
|
|
@ -39,7 +39,7 @@ For reference, here's a table of the default Keyman keyboard heights for various
|
|||
|-------------------------------|---------------------------------|----------------------------------|
|
||||
| Default handset (160dpi) | 205 | 120 |
|
||||
| High Density handset (240dpi) | 170 | 100 |
|
||||
| Extra High Density handset (320dpi) | | 140 |
|
||||
| Extra High Density handset (320dpi) | 270 | 140 |
|
||||
| 7" tablet | 305 | 140 |
|
||||
| 10" tablet | 405 | 200 |
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue