Advantages of darker themes

I hope understanding the advantages of dark themes can help you make a better decision.

1. Better user experience

Help you to provide a better user experience, especially in certain situations, for example, when the light is darker, although say watch phone in the evening is a very bad habit, but we all know that a lot of people have this habit, so when the light is darker, if the user opens your application, Your app is shining brightly, and a theme like this is not going to be a great experience for the user. So if you can provide the user with a choice of theme for this particular environment with low light, it will be a much better experience for him.

2. Save electricity

In the past few versions of Android, we’ve been talking about a lot of features that have been introduced in the past to save power for users, such as limitations on the back platform. But we all know electricity is one of the most consumption when screen on applications running in the foreground, so if you in application to join the dark theme, we see the users have really is very large for electricity saving, by reducing the pixels of luminescence, we see in some cases can help users to reduce as much as 60% of the battery.

3. Accessibility support

Especially for users with some visual impairment, dark theme is very important for them, because dark theme can greatly reduce visual fatigue. Perhaps for these reasons, dark themes have been a very popular feature among Android users in recent years.

Set a dark theme

The system sets the dark mode

So Android Q is also in line with everyone’s demand, the system added a dark theme. If you’re using Android Q Beta, you can go to Settings, Show, theme background and change the system theme to a darker color. Dark themes have also been added to drop-down shortcuts.

The difference between dark themes and night mode

Dark theme and our original night mode are two different features.

  • Night mode means that the whole screen is darkened, that is, amber like that;
  • The dark themeIs really the whole system of UI theme flipping into this dark color, and for those supported apps, when the user switches to a dark theme, those apps will switch as well.

Dark themes and energy saving

We’ve talked a lot about saving power, so in Android Q we’ll also associate saving power with dark themes. If you use Android Q, you’ll notice that when the user turns on the power-saving mode, an entire system of dark themes will be triggered. When the user’s phone is charged, or the user turns off the power saving mode, the theme will revert to the default light color.

The Force Dark set

It is disabled by default. You can enable it by yourself.

Force Dark was released on the Android Q version, so it is not available in the pre-Android Q version, allowing developers to customize to achieve their desired colors.

Code sets

Use the DayNight library to complete the dark mode transition.

DayNight use

How do I use DayNight

Since there are two different ways to set themes, what are the main differences between them?

Android Q Labs live features page

Android Q Labs opening speech

What are the updates to Android Q

Android Q modernizes your application

Restrictions on background Activity startup

Android Q partitioned storage

Android Q gesture navigation

Jetpack update

Android Q adaption for foldable devices

Introduction to common system images

Google Play Store policy

Android Q location permission changed

Android Q Labs concludes the presentation