mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-19 06:07:40 +00:00
Merge pull request #13592 from keymanapp/fix/android/430dpi
fix(android): Add dimensions for 320+dpi phones in landscape
This commit is contained in:
commit
e894f79880
2 changed files with 19 additions and 0 deletions
18
android/KMEA/app/src/main/res/values-land-xhdpi/dimens.xml
Normal file
18
android/KMEA/app/src/main/res/values-land-xhdpi/dimens.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Dimens for Landscape (Extra-high-density ~320dpi) -->
|
||||
<resources>
|
||||
<dimen name="banner_height">30dp</dimen>
|
||||
<dimen name="keyboard_height">140dp</dimen>
|
||||
<dimen name="key_width">83.5dp</dimen>
|
||||
<dimen name="key_height">78.5dp</dimen>
|
||||
<dimen name="popup_arrow_width">38dp</dimen>
|
||||
<dimen name="popup_arrow_height">14dp</dimen>
|
||||
<dimen name="popup_margin">6dp</dimen>
|
||||
<dimen name="popup_padding">4dp</dimen>
|
||||
<dimen name="popup_offset_y">8dp</dimen>
|
||||
<dimen name="help_bubble_width">125dp</dimen>
|
||||
<dimen name="help_bubble_height">85dp</dimen>
|
||||
<dimen name="help_bubble_offset_x">0.5dp</dimen>
|
||||
<dimen name="help_bubble_offset_y">8dp</dimen>
|
||||
<dimen name="fab_margin">6dp</dimen>
|
||||
</resources>
|
||||
|
|
@ -31,6 +31,7 @@ For reference, here's a table of the default Keyman keyboard heights for various
|
|||
|-----------------------------------|---------------------|
|
||||
| Default handset in portrait | 205 |
|
||||
| Default handset in landscape | 150 |
|
||||
| Extra High Density handset in landscape | 140 |
|
||||
| 7" tablet in portrait | 305 |
|
||||
| 7" tablet in landscape | 200 |
|
||||
| 10" tablet in portrait | 405 |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue