From 18861cd7aa87f62d5620a9a3135d4fa93601b161 Mon Sep 17 00:00:00 2001 From: oliexdev Date: Sun, 17 Nov 2024 10:57:02 +0100 Subject: [PATCH 1/4] updated to the latest libraries version --- android_app/app/build.gradle | 26 +++++++++++++++----------- android_app/build.gradle | 4 ++-- android_app/gradle.properties | 1 - 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/android_app/app/build.gradle b/android_app/app/build.gradle index 7def6d20..b1f97f0b 100644 --- a/android_app/app/build.gradle +++ b/android_app/app/build.gradle @@ -22,6 +22,10 @@ android { } } + buildFeatures { + buildConfig = true + } + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } sourceSets { @@ -138,18 +142,18 @@ android { } dependencies { - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4' + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.3' implementation 'com.google.android.material:material:1.12.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'androidx.appcompat:appcompat:1.6.1' + implementation 'androidx.appcompat:appcompat:1.7.0' implementation 'androidx.recyclerview:recyclerview:1.3.2' - implementation 'androidx.constraintlayout:constraintlayout:2.1.4' + implementation 'androidx.constraintlayout:constraintlayout:2.2.0' implementation 'androidx.preference:preference:1.2.1' - implementation 'androidx.navigation:navigation-fragment:2.7.7' - implementation 'androidx.navigation:navigation-ui:2.7.7' + implementation 'androidx.navigation:navigation-fragment:2.8.4' + implementation 'androidx.navigation:navigation-ui:2.8.4' implementation "android.arch.lifecycle:extensions:1.1.1" - annotationProcessor "androidx.lifecycle:lifecycle-common-java8:2.8.0" + annotationProcessor "androidx.lifecycle:lifecycle-common-java8:2.8.7" // MPAndroidChart implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' @@ -171,11 +175,11 @@ dependencies { // Local unit tests testImplementation 'junit:junit:4.13.2' // Instrumented unit tests - implementation 'androidx.annotation:annotation:1.8.0' - androidTestImplementation 'androidx.test.ext:junit:1.1.5' - androidTestImplementation 'androidx.test:rules:1.5.0' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' - androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.5.1' + implementation 'androidx.annotation:annotation:1.9.1' + androidTestImplementation 'androidx.test.ext:junit:1.2.1' + androidTestImplementation 'androidx.test:rules:1.6.1' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' + androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.6.1' } tasks.withType(Test) { diff --git a/android_app/build.gradle b/android_app/build.gradle index 53794076..b2e93c7b 100644 --- a/android_app/build.gradle +++ b/android_app/build.gradle @@ -5,8 +5,8 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.4.0' - classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7" + classpath 'com.android.tools.build:gradle:8.4.2' + classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.8.4" } } diff --git a/android_app/gradle.properties b/android_app/gradle.properties index 98241225..2f4f8ad1 100644 --- a/android_app/gradle.properties +++ b/android_app/gradle.properties @@ -1,4 +1,3 @@ -android.defaults.buildfeatures.buildconfig=true android.enableJetifier=true android.nonFinalResIds=false android.nonTransitiveRClass=false From 8b4326687c91d33f496a0f37dc5fc7e14388aca9 Mon Sep 17 00:00:00 2001 From: oliexdev Date: Sun, 17 Nov 2024 12:30:03 +0100 Subject: [PATCH 2/4] fixed color button issues, see bug #1038 --- .../app/src/main/res/values-night/themes.xml | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/android_app/app/src/main/res/values-night/themes.xml b/android_app/app/src/main/res/values-night/themes.xml index a988d38a..a7119d6e 100644 --- a/android_app/app/src/main/res/values-night/themes.xml +++ b/android_app/app/src/main/res/values-night/themes.xml @@ -27,7 +27,10 @@ @color/md_theme_dark_inverseOnSurface @color/md_theme_dark_inverseSurface @color/md_theme_dark_inversePrimary - @style/AppTheme.Dialog + @style/AppTheme.Dialog + @style/AppTheme.Dialog + @style/MaterialCalendarTheme + @style/MaterialPreferenceTheme @color/md_theme_dark_onPrimary @@ -35,8 +38,29 @@ @android:color/transparent - + + + + + + + +