From 252c69a3efa16420396801efe8d9b56494e5203a Mon Sep 17 00:00:00 2001 From: denizk0461 Date: Mon, 8 May 2023 13:15:09 +0200 Subject: [PATCH] Added text fields to change colours for text and background, but background logic for that is not yet implemented. BUG: settings don't react as they should. Clicking on "serif," for example, doesn't actually select and store serif. What is going on? --- .idea/misc.xml | 1 - .../java/com/denizd/textbasic/QuoteStorage.kt | 2 +- .../textbasic/fragment/SettingsFragment.kt | 25 ++-- .../com/denizd/textbasic/widget/CanvasText.kt | 1 - .../main/res/color/selector_text_input.xml | 5 + app/src/main/res/drawable/rounded_shape.xml | 7 + app/src/main/res/layout/fragment_settings.xml | 121 +++++++++++++++--- app/src/main/res/values-de/strings.xml | 3 + app/src/main/res/values-night/themes.xml | 6 + app/src/main/res/values/attrs.xml | 4 +- app/src/main/res/values/strings.xml | 3 + app/src/main/res/values/themes.xml | 6 + 12 files changed, 149 insertions(+), 35 deletions(-) create mode 100644 app/src/main/res/color/selector_text_input.xml create mode 100644 app/src/main/res/drawable/rounded_shape.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 833f612..1d7c6b3 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ -