forked from organicmaps/organicmaps
Flags for tablets.
This commit is contained in:
parent
28ac217a98
commit
a87df99dcb
4 changed files with 17 additions and 2 deletions
7
android/res/values-sw600dp/attrs.xml
Normal file
7
android/res/values-sw600dp/attrs.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<bool name="isTablet">true</bool>
|
||||
<bool name="isBigTablet">false</bool>
|
||||
|
||||
</resources>
|
|
@ -38,6 +38,4 @@
|
|||
<dimen name="margin_direction_mid">36dp</dimen>
|
||||
<dimen name="margin_direction_around_center">40dp</dimen>
|
||||
|
||||
<bool name="isTablet">true</bool>
|
||||
|
||||
</resources>
|
||||
|
|
7
android/res/values-sw720dp/attrs.xml
Normal file
7
android/res/values-sw720dp/attrs.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<bool name="isTablet">true</bool>
|
||||
<bool name="isBigTablet">true</bool>
|
||||
|
||||
</resources>
|
|
@ -16,6 +16,9 @@
|
|||
</attr>
|
||||
</declare-styleable>
|
||||
|
||||
<!-- 7 inch tablet -->
|
||||
<bool name="isTablet">false</bool>
|
||||
<!-- 10 inch tablet -->
|
||||
<bool name="isBigTablet">false</bool>
|
||||
|
||||
</resources>
|
Loading…
Add table
Reference in a new issue