Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable Dark Mode on emulator?

I'm trying to enable Dark Mode on emulator (with Android API 28), but after I choose "Dark" Theme on emulator in Settings, enter image description here

nothing is changed, except of setting value:

enter image description here

Is it possible at all to enable Dark Mode on emulator?

like image 639
Ksenia Avatar asked Jan 20 '19 23:01

Ksenia


People also ask

How do I enable dark mode on my emulator?

Use the system setting (Settings -> Display -> Theme) to enable Dark theme. Use the Quick Settings tile to switch themes from the notification tray (once enabled). On Pixel devices, selecting the Battery Saver mode enables Dark theme at the same time.

Why is my emulator showing a white screen?

If it's a white screen, it means it is loading. Before it happened to me, and I clicked on the white screen for some times, then it successfully loaded my project. It may be that your Project includes something that the Emulator is incompatible with (an extension for example).


1 Answers

Answer by @AchrafAmil and @MihailFleytman on Android StackExchange.

No reboot/root required

adb shell "cmd uimode night yes"
adb shell "cmd uimode night no"
like image 118
Phani Rithvij Avatar answered Oct 04 '22 04:10

Phani Rithvij