-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dark Theme Support #28
Comments
@Devo7v Thank you for suggestion. Yes, I see this documentation page with most of information needed to implement Dark Mode: https://developer.android.com/guide/topics/ui/look-and-feel/darktheme There are two major app/widget changes needed for this:
Optional feature: Allowing to switch between them manually (in the Widget's settings). This feature itself is not very needed: who would like to change widget's setting every evening and every morning? :-).
Meanwhile (and especially for Android 9-) a User can create TWO widgets: one for general use and another (on some "Night home screen") - for use at night. Not very bad, I would say?! |
Exactly. Right now I'm manually changing 5 colors (all the text colors) from light to black and back again when dark mode turns on and off. I was able to pick a background color that looks good on both light and dark mode so I don't need to adjust them. Hopefully you can come up with an elegant method of allowing the user to set 2 colors because I would love got the widget to automatically change when dark mode turns on/off. Thank you for considering this suggestion. |
I would suggest for you to create / allocate one Home screen specifically for Dark Mode, and create another ToDo Agenda widget instance on that page with "Night colors". So you wouldn't need to change colors, but look at different Home screens instead |
If implementing a dark mode for the widget isn't high on you list, do you think you could at least implement a dark mode to the settings screen? It is blinding at night when I'm changing color settings. |
@Devo7v I'll look into this... |
Hi @Devo7v . Today I added Dark theme support for the widget's Settings screens. Theme of Settings screens switches automatically with Android system-wide "Dark theme" switch. Available since v.4.2.2. See #3 |
Works as expected and looks great, thanks for implementing this in the settings. I'm going to leave this open for now in hopes that you're able to implement a similar functionality for the widget. It could be as simple as one checkbox to invert text color and another checkbox to invert background color. |
@Devo7v Thanks for the feedback and inspiration!
|
Personally, I would think only the colors section would need to be dynamic. If the text size or layout changes I would think that would be a separate widget at that point. The dark theme switch should be located in the Colors section and should probably only be a check box to follow the system dark mode when activated. The more I think through this the more complicated it could get. I think you have 3 paths forward:
The first two options simply modify the colors of the existing widget, the third option is more complex, but also allows the user to completely change everything about the widget if dark mode is activated including the text size and layout you mentioned. |
A User either wants to follow Android system-wide Dark theme on/off changes (and thus needs the second set of some settings for "Dark theme"...) or not (and hence no need in that second set of settings).
?! |
On the main settings menu you could place a checkbox between the Layout and Colors sections, "Different Colors for Android System Dark Mode". This should only show up on Android 10+. If the user checks that box, a new section appears between Colors and Event Details, "Colors for Dark Mode". This would have the same settings as the Colors section and it should be prepopulated with the values from the Colors section unless the user modifies them. EDIT: As I mentioned previously if you want to add more configuration than just the colors I think you're allowing the user to set up two different widgets and then select which one gets shown during light mode and dark mode. |
@Devo7v Implemented in v.4.3.0, please check #3 Different colors for Android system Dark theme option added for Android 10+. |
I just updated and tried it. It works as expected. I understand why you have kept everything in a single menu, but I think you need a couple tweaks to make it more obvious:
I would suggest having a separate menu for dark mode colors that shows up when you enable dark mode support. Just as I described in my previous comment. Hopefully this could avoid some confusion and save the settings if toggling dark mode when the settings are open. |
It would be nice to support Android's system wide dark mode implementation in Android 10+. This could be implemented in 2 locations:
The text was updated successfully, but these errors were encountered: