Answers for "android status bar color transparent"

0

change status bar color android

// for my fellow react-native developers
// add this in styles.xml
<resources>
    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="android:textColor">#000000</item>
        <item name="android:windowDisablePreview">true</item>
        <item name="android:windowBackground">#000000</item>
        <item name="android:colorBackground">#000000</item>
        <item name="android:statusBarColor">#000000</item>//<--add_this
    </style>

</resources>
Posted by: Guest on May-21-2021
0

android transparent status bar

getWindow().setFlags(
    WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,
    WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS
);
Posted by: Guest on August-01-2021

Code answers related to "android status bar color transparent"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language