Skip to content
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

[Android] Sobriety > Dark UI (ESOB004) #46

Open
StanislasJC opened this issue Apr 5, 2023 · 0 comments
Open

[Android] Sobriety > Dark UI (ESOB004) #46

StanislasJC opened this issue Apr 5, 2023 · 0 comments
Assignees
Labels
android Something tied to the android OS 🗃️ rule Rule submission

Comments

@StanislasJC
Copy link

Improvement of the following issue : Add Theme.MaterialComponents.Light detection in DarkUIThemeXmlRule #32

Developers are allowed to apply native themes for their app, or derive new ones throught inheritence. This decision has a significant impact on energy consumption since displaying dark colors is particularly beneficial for mobile devices with (AM)OLED screens (under certain conditions). By default Android will set a dark style and hence switching to the light theme (parent style Theme.*.Light) within the manifest should be avoided. Of course, custom resources like bright colors values and bitmap images with too high luminance should be avoided too.

@olegoaer olegoaer added android Something tied to the android OS 🗃️ rule Rule submission labels Apr 5, 2023
@olegoaer olegoaer changed the title [Android] DarkUI - ecoCodeDarkUITheme (ESOB004) - Team 18-days [Android] Sobriety > DarkUITheme (ESOB004) Apr 5, 2023
@olegoaer olegoaer changed the title [Android] Sobriety > DarkUITheme (ESOB004) [Android] Sobriety > Dark UI (ESOB004) Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Something tied to the android OS 🗃️ rule Rule submission
Projects
None yet
Development

No branches or pull requests

2 participants