I need a status bar in white, as well as a status icon with a dark color by default. but now the color of the status bar is white, but the color of the status bar icon is not changed to dark by default. my theme code
Value-V23 / styles.xml
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@android:color/white</item>
</style>
i sets windowLightStatusBar to true, works on the entire device, but does not work on the MI phone.
<item name="android:windowLightStatusBar">true</item>
i includes a screenshot of the MI device and intex device. in the status icon of the MI device displayed in white, and in the intex device displayed in dark by default.


source
share