Flags for tablets.

This commit is contained in:
Dmitry Yunitsky 2015-03-10 20:07:33 +03:00 committed by Alex Zolotarev
parent 28ac217a98
commit a87df99dcb
4 changed files with 17 additions and 2 deletions

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="isTablet">true</bool>
<bool name="isBigTablet">false</bool>
</resources>

View file

@ -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>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="isTablet">true</bool>
<bool name="isBigTablet">true</bool>
</resources>

View file

@ -16,6 +16,9 @@
</attr>
</declare-styleable>
<!-- 7 inch tablet -->
<bool name="isTablet">false</bool>
<!-- 10 inch tablet -->
<bool name="isBigTablet">false</bool>
</resources>