use bigger text size for Formula on tablets

This commit is contained in:
tibbi 2018-04-03 23:55:21 +02:00
parent c8a10cd466
commit 37a1cdff91
3 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,7 @@
android:maxLines="1" android:maxLines="1"
android:paddingLeft="@dimen/activity_margin" android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin" android:paddingRight="@dimen/activity_margin"
android:textSize="@dimen/actionbar_text_size"/> android:textSize="@dimen/formula_text_size"/>
<TextView <TextView
android:id="@+id/result" android:id="@+id/result"
@ -46,8 +46,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:text="%" android:text="%"/>
android:textSize="@dimen/extra_big_text_size"/>
<Button <Button
android:id="@+id/btn_power" android:id="@+id/btn_power"

View File

@ -3,5 +3,6 @@
<dimen name="min_widget_height">320dp</dimen> <dimen name="min_widget_height">320dp</dimen>
<dimen name="button_text_size">42sp</dimen> <dimen name="button_text_size">42sp</dimen>
<dimen name="formula_text_size">30sp</dimen>
<dimen name="display_text_size">60sp</dimen> <dimen name="display_text_size">60sp</dimen>
</resources> </resources>

View File

@ -3,5 +3,6 @@
<dimen name="min_widget_height">250dp</dimen> <dimen name="min_widget_height">250dp</dimen>
<dimen name="button_text_size">28sp</dimen> <dimen name="button_text_size">28sp</dimen>
<dimen name="formula_text_size">20sp</dimen>
<dimen name="display_text_size">40sp</dimen> <dimen name="display_text_size">40sp</dimen>
</resources> </resources>