Open PurpleCodingWizard opened 3 years ago
Thanks. I agree a dark mode would be nice.
I would simply migrate to AppCompat and use
android:theme="@style/Theme.AppCompat.DayNight">
in AndroidManifest.xml
With that the app would follow the system setting.
It would be very helpful if this could be added as an in-app setting. Automatic dark mode doesn't work consistently before Android 10 in my experience.
I would not waste time on that. That just makes it more complex. With Android 12 in roll-out older than Android 10 should be history soon...
Adding a theme switch in the settings doesn't sound too difficult. I'll look into it for version 3.1.0. The next release (v3) should be out soon.
woheller69, I am, of course, aware that upgrading to the latest OS version is preferred by many, including Google. However, this application is currently built to run on OS versions as far back as Android 5 (Lollipop). I have no intention of moving this minimum requirement forward, especially since the more recent releases have, in fact, made things needlessly more difficult for me (e.g., issue #19).
I have no problem with it, it is your time :-) With all the API change this is getting more and more challenging...
As a workaround you can use the app "DarQ" and enable force dark mode for this particular app. Works great with some other apps I have that don't have dark mode. https://www.xda-developers.com/darq-per-app-forced-dark-mode-android-10-without-root/
The dark mode if done can support settings like follow system, battery saver or choose a light, dark theme.