forked from vergnet/application-amicale
Improve android splash screen style
This commit is contained in:
parent
97d6e1dffc
commit
89c65d7070
2 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -7,4 +7,8 @@
|
|||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
</style>
|
||||
<style name="SplashScreenTheme" parent="SplashScreen_SplashTheme">
|
||||
<item name="android:navigationBarColor">@color/activityBackground</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
Reference in a new issue