Improve android splash screen style

Šī revīzija ir iekļauta:
Arnaud Vergnet 2020-09-21 19:01:32 +02:00
vecāks 97d6e1dffc
revīzija 89c65d7070
2 mainīti faili ar 6 papildinājumiem un 2 dzēšanām

Parādīt failu

@ -23,7 +23,7 @@ public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
SplashScreen.show(this);
SplashScreen.show(this, R.style.SplashScreenTheme);
super.onCreate(savedInstanceState);
}

Parādīt failu

@ -7,4 +7,8 @@
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorPrimary">@color/colorPrimary</item>
</style>
</resources>
<style name="SplashScreenTheme" parent="SplashScreen_SplashTheme">
<item name="android:navigationBarColor">@color/activityBackground</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
</style>
</resources>