androidandroid-10.0

windowLightNavigationBar not working on Android 10 (Q)


I'm trying to make Navigation Bar Light With dark Dots on it So I made style-v27.xml with windowLightNavigationBar = true :

    <item name="android:windowLightNavigationBar">true</item>
    <item name="android:navigationBarColor">@android:color/white</item>

this feature is available in Api Level 27+ AND:

On Android 10 dot remains White And Background is Also White!:

enter image description here

by the way I'm Targeting on Api 29. I have tested on "EMULATOR". I haven't access to a real Android 10 device to confirm this bug is also there.


Solution

  • This was an AVD bug not an android platform bug. close android Q AVD and Update android 10 SDK system files. re open AVD. problem solved.

    if this not helped, Delete AVD and Recreate it.