1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-19 23:12:12 +02:00

decrease the text size for the widget value text

This commit is contained in:
OliE
2018-05-10 12:23:10 +02:00
parent ca5e0b9cbf
commit 6eb11b0177
2 changed files with 2 additions and 1 deletions

View File

@@ -130,7 +130,7 @@ public class WidgetProvider extends AppWidgetProvider {
views.setTextViewTextSize(R.id.widget_delta, TypedValue.COMPLEX_UNIT_DIP, 15);
}
else {
views.setTextViewTextSize(R.id.widget_value, TypedValue.COMPLEX_UNIT_DIP, 15);
views.setTextViewTextSize(R.id.widget_value, TypedValue.COMPLEX_UNIT_DIP, 14);
views.setTextViewTextSize(R.id.widget_delta, TypedValue.COMPLEX_UNIT_DIP, 13);
}

View File

@@ -71,6 +71,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="right"
android:lines="1"
android:textColor="@color/widgetTextColor"
android:textStyle="bold" />