It's a demo for Android Night Mode.
It has three ways:
- UiModeManager.setNightMode() (UiModeManager)
- Change Theme （Can refer to MultipleTheme）
- Use NightModeHelper
Please make sure switch one way at one time. It means that you can switch to night mode, back to day mode, and then change to another way. Otherwise, it may cause something unpredictable.