Browse Source

Fix flickering statusBar when showing modal (#1386)

Guy Carmeli 7 years ago
parent
commit
2b24dff582
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      android/app/src/main/res/values/styles.xml

+ 2
- 1
android/app/src/main/res/values/styles.xml View File

@@ -1,7 +1,8 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2
-<resources>
2
+<resources xmlns:tools="http://schemas.android.com/tools">
3 3
     <style name="Modal" parent="@android:style/Theme.Translucent.NoTitleBar">
4 4
         <item name="android:windowAnimationStyle">@style/modalAnimations</item>
5
+        <item name="android:statusBarColor" tools:targetApi="lollipop">@android:color/transparent</item>
5 6
     </style>
6 7
 
7 8
     <style name="LightBox" parent="@android:style/Theme.Translucent.NoTitleBar">