This article explains how to enable dark mode on devices running Android 9 and later. The feature is not available in older versions of the operating system.
How to Force Dark Mode on Android
By default, the theme tint is set to the same wallpaper-detection-based automatic mode as older versions of Android, but there are now dedicated options for a permanent color theme. To enable the dark theme on Android 10 devices:
Open the Settings app.
Tap the switch next to Dark theme to enable it.