From 06989a5f334a24d060c3b312263e1af27fc8724b Mon Sep 17 00:00:00 2001 From: PahaAkos Date: Thu, 17 Jul 2025 15:56:35 +0200 Subject: [PATCH 1/4] Update UI elements to match Material3Expressive --- .idea/deviceManager.xml | 13 ++ .idea/kotlinc.xml | 2 +- app/build.gradle.kts | 26 ++-- .../rboardpatcher/adapter/PatchAdapter.kt | 72 ++++++++- .../dertyp7214/rboardpatcher/core/String.kt | 7 +- .../screens/LoadThemeActivity.kt | 2 +- .../rboardpatcher/screens/PatchActivity.kt | 7 +- .../screens/PickThemeActivity.kt | 2 +- .../rboardpatcher/screens/types/MainOption.kt | 2 +- .../color_surface_overlay_background.xml | 15 ++ ...olor_surface_overlay_background_bottom.xml | 17 +++ ...face_overlay_background_bottom_colored.xml | 17 +++ ...lor_surface_overlay_background_colored.xml | 15 ++ ...lor_surface_overlay_background_rounded.xml | 15 ++ ...ace_overlay_background_rounded_colored.xml | 15 ++ .../color_surface_overlay_background_top.xml | 19 +++ ...surface_overlay_background_top_colored.xml | 19 +++ app/src/main/res/layout/activity_patch.xml | 4 + .../main/res/layout/activity_pick_theme.xml | 82 ++++++---- .../res/layout/custom_image_patch_layout.xml | 2 +- .../res/layout/custom_value_patch_layout.xml | 2 +- app/src/main/res/layout/patch_info_popup.xml | 4 +- app/src/main/res/layout/patch_layout.xml | 143 ++++++++++-------- app/src/main/res/layout/share_popup.xml | 4 +- app/src/main/res/values-v27/themes.xml | 2 +- app/src/main/res/values-v30/themes.xml | 2 +- app/src/main/res/values/styles.xml | 2 +- app/src/main/res/values/themes.xml | 2 +- build.gradle.kts | 2 +- colorutilsc | 2 +- gradle/libs.versions.toml | 20 +-- gradle/wrapper/gradle-wrapper.properties | 4 +- rboardcomponents | 2 +- 33 files changed, 398 insertions(+), 146 deletions(-) create mode 100644 .idea/deviceManager.xml create mode 100644 app/src/main/res/drawable/color_surface_overlay_background.xml create mode 100644 app/src/main/res/drawable/color_surface_overlay_background_bottom.xml create mode 100644 app/src/main/res/drawable/color_surface_overlay_background_bottom_colored.xml create mode 100644 app/src/main/res/drawable/color_surface_overlay_background_colored.xml create mode 100644 app/src/main/res/drawable/color_surface_overlay_background_rounded.xml create mode 100644 app/src/main/res/drawable/color_surface_overlay_background_rounded_colored.xml create mode 100644 app/src/main/res/drawable/color_surface_overlay_background_top.xml create mode 100644 app/src/main/res/drawable/color_surface_overlay_background_top_colored.xml diff --git a/.idea/deviceManager.xml b/.idea/deviceManager.xml new file mode 100644 index 0000000..91f9558 --- /dev/null +++ b/.idea/deviceManager.xml @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml index cd2b502..700dcf7 100644 --- a/.idea/kotlinc.xml +++ b/.idea/kotlinc.xml @@ -7,6 +7,6 @@