0

I had tried

  1. Settings -> Display
  2. Developer options -> Set Night mode

enter image description here

enter image description here


Still, I can hardly make the Android device have dark theme in drop down notification.

enter image description here


The reason I wanna to have dark color in drop down notification, because I'm currently debugging on this problem - How to get the notification drop-down background color, and decide best text color when night Mode is enabled?

Any idea? I am using Android Pie 9 emulator.

Cheok Yan Cheng
  • 47,586
  • 132
  • 466
  • 875
  • It's unclear what you are referring to as "drop down notification". Please use technical terms or be more descriptive. – Paul Burke Apr 05 '19 at 13:07

1 Answers1

0

You can do this via ADB on Android Q (Beta) emulator. Same command will work on Android P also but I think it doesn't has dark theme for notifications.

Enable Night Mode:

adb shell settings put secure ui_night_mode 2

Reboot to apply changes:

adb reboot

Disable Night mode:

adb shell settings put secure ui_night_mode 1