From 8040c09aeae31d1607059231e54b065e7bfd2a1b Mon Sep 17 00:00:00 2001 From: ardocrat Date: Mon, 10 Apr 2023 18:58:31 +0300 Subject: [PATCH] fix: theme change --- app/src/main/AndroidManifest.xml | 2 +- .../main/java/mw/gri/android/MainActivity.java | 2 ++ app/src/main/res/values-night/themes.xml | 16 ---------------- app/src/main/res/values/themes.xml | 2 +- 4 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 app/src/main/res/values-night/themes.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d1b1a29..2a4053a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -15,7 +15,7 @@ diff --git a/app/src/main/java/mw/gri/android/MainActivity.java b/app/src/main/java/mw/gri/android/MainActivity.java index 7703d3d..15f9190 100644 --- a/app/src/main/java/mw/gri/android/MainActivity.java +++ b/app/src/main/java/mw/gri/android/MainActivity.java @@ -1,9 +1,11 @@ package mw.gri.android; import android.app.NativeActivity; +import android.content.res.Configuration; import android.os.Bundle; import android.system.ErrnoException; import android.system.Os; +import android.util.Log; import android.view.WindowManager; public class MainActivity extends NativeActivity { diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml deleted file mode 100644 index 5efb61e..0000000 --- a/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 14e189a..fa5fd2b 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,6 +1,6 @@ -