Improve android splash screen style

このコミットが含まれているのは:
Arnaud Vergnet 2020-09-21 19:01:32 +02:00
コミット 89c65d7070
2個のファイルの変更6行の追加2行の削除

ファイルの表示

@ -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>