use constant text size on the widget on tablets too

This commit is contained in:
tibbi 2018-03-13 19:48:49 +01:00
parent c2cabfa84f
commit 94bd7900bb
3 changed files with 7 additions and 6 deletions

View File

@ -29,7 +29,7 @@
android:layout_alignBaseline="@+id/widget_time"
android:layout_toRightOf="@+id/widget_time"
android:includeFontPadding="false"
android:textSize="@dimen/normal_text_size"
android:textSize="@dimen/widget_details_text_size"
tools:text=" a.m."/>
</RelativeLayout>
@ -41,7 +41,7 @@
android:layout_centerHorizontal="true"
android:gravity="center_horizontal"
android:includeFontPadding="false"
android:textSize="@dimen/normal_text_size"
android:textSize="@dimen/widget_details_text_size"
tools:text="Mon, 1 January"/>
<RelativeLayout
@ -65,7 +65,7 @@
android:layout_toRightOf="@+id/widget_next_alarm_image"
android:includeFontPadding="false"
android:paddingLeft="@dimen/small_margin"
android:textSize="@dimen/normal_text_size"
android:textSize="@dimen/widget_details_text_size"
tools:text="Tue, 18:30"/>
</RelativeLayout>

View File

@ -35,7 +35,7 @@
android:shadowColor="@android:color/black"
android:shadowDy="1"
android:shadowRadius="1"
android:textSize="@dimen/normal_text_size"
android:textSize="@dimen/widget_details_text_size"
tools:text=" a.m."/>
</RelativeLayout>
@ -50,7 +50,7 @@
android:shadowColor="@android:color/black"
android:shadowDy="1"
android:shadowRadius="1"
android:textSize="@dimen/normal_text_size"
android:textSize="@dimen/widget_details_text_size"
tools:text="Mon, 1 January"/>
<RelativeLayout
@ -77,7 +77,7 @@
android:shadowColor="@android:color/black"
android:shadowDy="1"
android:shadowRadius="1"
android:textSize="@dimen/normal_text_size"
android:textSize="@dimen/widget_details_text_size"
tools:text="Tue, 18:30"/>
</RelativeLayout>

View File

@ -14,4 +14,5 @@
<dimen name="alarm_text_size">46sp</dimen>
<dimen name="stopwatch_text_size">60sp</dimen>
<dimen name="widget_time_text_size">48sp</dimen>
<dimen name="widget_details_text_size">14sp</dimen>
</resources>