Skip to content

Types of Dark Mode

Devrath edited this page May 28, 2021 · 2 revisions

Different types of dark mode in Android

  • Force Dark
  • Using day-night Themes

Using day-night Theme

  • It gives more control and helps to support dark mode in pre android 10 devices
  • But its bit time consuming to set up

Force Dark

  • It is a quick way to support dark theme on android-10 devices.
  • Google describes force dark being a quick way to transition into a dark theme in existing apps.
  • When you apply force dark, android tries its best to attempt to apply a dark theme to your android app running in android-10.
  • Since force dark is automatic without the input from you as a developer, it is not always perfect.
  • So there is an option to turn off force dark for particular views in your application.
Clone this wiki locally