Issue
I'm trying to change status bar color on the Splash Screen in Flutter for Android. But, whatever I do, it's color remaining unchanged (black). I've tried settings colorPrimaryDark, statusBarColor and other things in Android styles.xml. Is it possible at all?
Solution
<style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@drawable/background</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
Answered By - season
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.