Open barbeau opened 5 years ago
Looking at gpstest Settings (3.3.4) "Use Dark Theme"
Black is 0xff000000 in Alpha-R-G-B - https://developer.android.com/reference/android/graphics/Color
In GPSTest\src\main\res\values\colors.xml:
This has Alpha-R-G-B value: FF 20 20 20, i.e. not totally black.
Looking at setCardBackgroundColor...
@mickhayes The current theming in GPSTest is a mix of legacy Android themeing and manually adjusting colors when the legacy theme didn't work for whatever reason. So unfortunately it's not going to be as simple as just changing cardview_dark_background
. I'm hopeful that the new system theme support for dark mode in Android (see above links in initial post) will simplify a lot of this code, although I haven't had a chance to deep-dive on this myself.
Here's the original commit that adding support for the dark theme, although the implementation has gotten more complex over time with later additions to Sky and Accuracy views, etc.: https://github.com/barbeau/gpstest/commit/3939beb447dba06971cec70e04b363307f5fefe5
But you can see the use of the system AppTheme.Dark.NoActionBar
theme there.
Google I/O 2019 app code is now live, which includes dark theme implementation: https://9to5google.com/2019/08/14/io-2019-open-source/amp/
See Dark Theme in material components: https://material.io/develop/android/theming/dark/
Maybe a explanation not to adopt the darkest black and stick to the Material Themes : https://www.xda-developers.com/amoled-black-vs-gray-dark-mode/
That article makes sense, but
Hopefully switching to the official dark mode will also fix this issue in Settings on legacy devices:
In the dark environment with dark mode I can't see what option, it is or not selected!
App version: v3.6.4 (18066-google) Model: E39 Android version: 4.4.2 / 19
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This should include the settings for:
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
Not stale
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
Not stale
Summary:
From user:
I'd like this too. There are some dark theme options for later versions of Android that we aren't currently using that we can take a look at:
Steps to reproduce:
Go to settings and enable "Dark mode"
Expected behavior:
Give me an option for blackout mode option for true black background, or make dark mode darker
Observed behavior:
Dark mode has dark gray background
Device and Android version:
N/A