From 8f7895e219455bf5272cfcccff1c6921dc2740c4 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 21 Dec 2022 16:59:26 +0100 Subject: [PATCH] tweaking widget text sizes --- .../calculator/activities/WidgetConfigureActivity.kt | 2 ++ .../calculator/helpers/MyWidgetProvider.kt | 6 ++++-- app/src/main/res/values/integers.xml | 4 ++++ app/src/main/res/values/styles.xml | 1 + 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/values/integers.xml diff --git a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt index f54aa995..226f2f94 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/WidgetConfigureActivity.kt @@ -134,12 +134,14 @@ class WidgetConfigureActivity : SimpleActivity() { R.id.btn_9, R.id.btn_percent, R.id.btn_power, R.id.btn_root, R.id.btn_clear, R.id.btn_reset, R.id.btn_divide, R.id.btn_multiply, R.id.btn_minus, R.id.btn_plus, R.id.btn_decimal, R.id.btn_equals ) + result.setTextColor(mTextColor) formula.setTextColor(mTextColor) config_save.setTextColor(getProperPrimaryColor().getContrastColor()) viewIds.forEach { (findViewById