For certain device, theme app not as per theme setting
Closed this issue · 2 comments
andrea-liu87 commented
For certain device, theme app not as per theme setting
andrea-liu87 commented
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
For >Android 12, Android will generate default SplashScreen. Need to costumize Splash Screen for this
alivalid commented
https://stackoverflow.com/a/64999338
untuk versi dibawah android 12 bisa tambahkan settingan ini pada themes.xml
<item name="android:forceDarkAllowed">false</item>.
tested di emulator android 10-12, namun di android 11 real device masih menampilkan warna dark mode.