将windowDrawsSystemBarBackgrounds设置为true时,标记\u布局\u无\u限制,导致我的导航栏在Android Emulator中变为黑色(
我的要求是使状态栏完全透明,没有任何覆盖和导航栏为白色。为此,我使用了FLAG\u transparcent\u status和fitsystemwindows=true,但在某些设备上状态栏上有一个覆盖,因此我应用了FLAG\u LAYOUT\u NO\u LIMITS标志,使我的状态栏和导航栏透明 因为,我不希望我的导航栏是透明的,所以我使用windowdrawsystembarbackgrounds=true。现在,Android Emulator上的导航栏变成黑色(像素3XL,API28,PIE 9.0)。对于这个特定的模拟器,它的颜色现在没有改变。虽然它显示白色导航,这是我在Redmi和Realme手机中的要求。但在Android emulator(Pixel 3XL、API28、PIE 9.0)中,导航栏仍然是黑色的 我也参考了这个库来满足我的需求,但这个库项目的行为与我目前的情况相同(即在真实设备上工作,但在上面提到的emulator中,它显示黑色的导航栏)将windowDrawsSystemBarBackgrounds设置为true时,标记\u布局\u无\u限制,导致我的导航栏在Android Emulator中变为黑色(,android,statusbar,android-navigation-bar,Android,Statusbar,Android Navigation Bar,我的要求是使状态栏完全透明,没有任何覆盖和导航栏为白色。为此,我使用了FLAG\u transparcent\u status和fitsystemwindows=true,但在某些设备上状态栏上有一个覆盖,因此我应用了FLAG\u LAYOUT\u NO\u LIMITS标志,使我的状态栏和导航栏透明 因为,我不希望我的导航栏是透明的,所以我使用windowdrawsystembarbackgrounds=true。现在,Android Emulator上的导航栏变成黑色(像素3XL,API28