bifurqué depuis vergnet/application-amicale
Improve android splash screen style
Cette révision appartient à :
Parent
97d6e1dffc
révision
89c65d7070
2 fichiers modifiés avec 6 ajouts et 2 suppressions
|
@ -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>
|
||||
</resources>
|
||||
<style name="SplashScreenTheme" parent="SplashScreen_SplashTheme">
|
||||
<item name="android:navigationBarColor">@color/activityBackground</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket