increase the widgets min size on tablets

This commit is contained in:
tibbi 2016-06-30 15:30:48 +02:00
parent 8ad43100bb
commit a418ecb3d7
3 changed files with 10 additions and 4 deletions

View File

@ -2,10 +2,13 @@
<dimen name="social_padding">12dp</dimen>
<dimen name="social_logo">60dp</dimen>
<dimen name="config_text_size">18sp</dimen>
<dimen name="min_widget_width">320dp</dimen>
<dimen name="min_widget_height">320dp</dimen>
<dimen name="normal_text_size">18sp</dimen>
<dimen name="mod_text_size">33sp</dimen>
<dimen name="button_text_size">42sp</dimen>
<dimen name="formula_text_size">30sp</dimen>
<dimen name="display_text_size">60sp</dimen>
<dimen name="normal_text_size">18sp</dimen>
<dimen name="config_text_size">22sp</dimen>
</resources>

View File

@ -4,6 +4,9 @@
<dimen name="social_padding">8dp</dimen>
<dimen name="social_logo">40dp</dimen>
<dimen name="min_widget_width">250dp</dimen>
<dimen name="min_widget_height">250dp</dimen>
<dimen name="config_text_size">18sp</dimen>
<dimen name="mod_text_size">22sp</dimen>
<dimen name="button_text_size">28sp</dimen>

View File

@ -2,8 +2,8 @@
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:configure="com.simplemobiletools.calculator.activities.WidgetConfigureActivity"
android:initialLayout="@layout/activity_main"
android:minHeight="250dp"
android:minWidth="250dp"
android:minHeight="@dimen/min_widget_height"
android:minWidth="@dimen/min_widget_width"
android:resizeMode="horizontal|vertical"
android:updatePeriodMillis="36000000">
</appwidget-provider>