You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting <item name="android:windowLightNavigationBar">true</item> should work as expected.
What does actually happen?
It's getting overwritten indirectly by statusbar plugin.
Information
in StatusBar.java in setStatusBarTransparent function when using setSystemUiVisibility the function overwrites windowLightNavigationBar setting which is set in xml theme. The plugin might consider another way to set those flags which doesn't overwrite navigation bar theme or add View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR flag based on the current app theme.
Command or Code
You can try it by adding this theme to themes.xml, here I'm using Splashscreen plugin, but a custom theme could also be defined in config.xml:
Bug Report
Problem
What is expected to happen?
Setting
<item name="android:windowLightNavigationBar">true</item>
should work as expected.What does actually happen?
It's getting overwritten indirectly by statusbar plugin.
Information
in
StatusBar.java
insetStatusBarTransparent
function when usingsetSystemUiVisibility
the function overwriteswindowLightNavigationBar
setting which is set in xml theme. The plugin might consider another way to set those flags which doesn't overwrite navigation bar theme or addView.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
flag based on the current app theme.Command or Code
You can try it by adding this theme to
themes.xml
, here I'm using Splashscreen plugin, but a custom theme could also be defined inconfig.xml
:Environment, Platform, Device
Android
Version information
cordova: 12.0.0
cordova-plugin-statusbar: 4.0.0
Checklist
The text was updated successfully, but these errors were encountered: