scale everything properly for tablets
This commit is contained in:
parent
a57f6b36ae
commit
a785af3885
|
@ -25,7 +25,7 @@
|
||||||
android:gravity="center_horizontal"
|
android:gravity="center_horizontal"
|
||||||
android:paddingBottom="@dimen/activity_margin"
|
android:paddingBottom="@dimen/activity_margin"
|
||||||
android:paddingTop="@dimen/activity_margin"
|
android:paddingTop="@dimen/activity_margin"
|
||||||
android:textSize="22sp"/>
|
android:textSize="@dimen/month_text_size"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/right_arrow"
|
android:id="@+id/right_arrow"
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
<resources>
|
||||||
|
<dimen name="social_padding">12dp</dimen>
|
||||||
|
<dimen name="social_logo">60dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="min_widget_width">320dp</dimen>
|
||||||
|
<dimen name="min_widget_height">320dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="normal_text_size">18sp</dimen>
|
||||||
|
<dimen name="day_text_size">24sp</dimen>
|
||||||
|
<dimen name="month_text_size">33sp</dimen>
|
||||||
|
<dimen name="today_text_size">48sp</dimen>
|
||||||
|
<dimen name="config_text_size">22sp</dimen>
|
||||||
|
</resources>
|
|
@ -1,8 +1,14 @@
|
||||||
<resources>
|
<resources>
|
||||||
<dimen name="activity_margin">16dp</dimen>
|
<dimen name="activity_margin">16dp</dimen>
|
||||||
<dimen name="day_text_size">16sp</dimen>
|
|
||||||
<dimen name="today_text_size">32sp</dimen>
|
|
||||||
<dimen name="config_text_size">18sp</dimen>
|
|
||||||
<dimen name="social_padding">8dp</dimen>
|
<dimen name="social_padding">8dp</dimen>
|
||||||
<dimen name="social_logo">40dp</dimen>
|
<dimen name="social_logo">40dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="min_widget_width">250dp</dimen>
|
||||||
|
<dimen name="min_widget_height">250dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="normal_text_size">14sp</dimen>
|
||||||
|
<dimen name="day_text_size">16sp</dimen>
|
||||||
|
<dimen name="month_text_size">22sp</dimen>
|
||||||
|
<dimen name="today_text_size">32sp</dimen>
|
||||||
|
<dimen name="config_text_size">18sp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
<item name="buttonStyle">@style/MyButton</item>
|
<item name="buttonStyle">@style/MyButton</item>
|
||||||
<item name="android:buttonStyle">@style/MyButton</item>
|
<item name="android:buttonStyle">@style/MyButton</item>
|
||||||
<item name="actionBarStyle">@style/AppTheme.ActionBarStyle</item>
|
<item name="actionBarStyle">@style/AppTheme.ActionBarStyle</item>
|
||||||
|
<item name="android:textSize">@dimen/normal_text_size</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="DayView">
|
<style name="DayView">
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:configure="com.simplemobiletools.calendar.activities.WidgetConfigureActivity"
|
android:configure="com.simplemobiletools.calendar.activities.WidgetConfigureActivity"
|
||||||
android:initialLayout="@layout/activity_main"
|
android:initialLayout="@layout/activity_main"
|
||||||
android:minHeight="250dp"
|
android:minHeight="@dimen/min_widget_height"
|
||||||
android:minWidth="250dp"
|
android:minWidth="@dimen/min_widget_width"
|
||||||
android:resizeMode="horizontal|vertical"
|
android:resizeMode="horizontal|vertical"
|
||||||
android:updatePeriodMillis="18000000">
|
android:updatePeriodMillis="18000000">
|
||||||
</appwidget-provider>
|
</appwidget-provider>
|
||||||
|
|
Loading…
Reference in New Issue