-
Notifications
You must be signed in to change notification settings - Fork 195
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 #41
Comments
From daniele.athome@gmail.com on May 12, 2013 03:47:55 Slipping to 2.2.8. Labels: -Milestone-2.2.7 Milestone-2.2.8 |
From daniele.athome@gmail.com on August 03, 2013 09:41:38 Blocked by theme/styles refactoring when we will switch to appcompat ActionBar. Labels: -Milestone-2.2.8 Milestone-2.2.9 |
From daniele.athome@gmail.com on January 11, 2014 04:58:20 Labels: -Milestone-2.2.9 -Component-Legacy-Android |
Possible reference theme: https://github.com/henrytao-me/android-md-core |
Theme.AppCompat.DayNight can be used for this. |
If I'm getting this right:
that doesn't help :-( any thoughts? |
IMO that featre is not soooo important.
If it's easy to implement why not do it.(I don't know if it's really easy)
If I'm right the effect would be that it works on new phones and on old phones would be nothing happens.(they only can use the light theme)
Time after time users will change there phones and can set dark theme.
You know what I mean?!
|
Yes I understand @webratte, but I'd like to examine all possibilities before I completely cut off Android < 14 from this, that's all :-)
|
According to the Google Play stats, 98.4% of devices are API 14+. I think it's OK to leave Gingerbred users without some UI improvements. Theme.AppCompat.DayNight has the following advantages IMO:
Recent versions of the support library work very well with vector graphics. I'm going to replace PNGs with vector images where possible. This will simplify maintainence of graphic resources. |
I remember that it supported vectors only on Lollipop and newer once. Have they improved the support library for older versions too? |
Yes. |
Actually it seems the dark theme is indeed supported, at least on API level 10. I believe what you were talking about to not be supported was the -night modifier, weren't you? If that's the case, it could be easily handled through styles. With a few... ehm... imperfections (e.g. that list item is NOT selected :-) but I'm sure we can work out on them. I'll see if it's worth the effort. |
Not me, but Chris Banes. :) You can see how themes are implemented in F-Droid client through styles (I took part in this) and, honestly, they're far from being elegant or maintainable. |
This is just switching a theme: there are a lot of assets that still need their *dark side*... Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
[skip ci] Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Dark mode will be shipped in next beta. |
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
[skip ci] Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
Dark theme for Android client. Use theme attributes whenever possible.
will need progress and thumb drawableswill use tint only for API level 21+, sorry older Android people I'm too lazy)Also the existing chat balloons are too light to be used in a dark theme (it kind of defeats the purpose). We need other 9-patches to either create new themes or create a dark version of the existing ones (the latter would be better because the theme will change automatically with night mode). Probably not all themes would be day/night, I'll do my best.
Minor refinements:
Some sources:
https://stackoverflow.com/a/40841611/1045199 (theme overriding AppCompat style)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: