Improve android splash screen style

这个提交包含在:
Arnaud Vergnet 2020-09-21 19:01:32 +02:00
父节点 97d6e1dffc
当前提交 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>
<style name="SplashScreenTheme" parent="SplashScreen_SplashTheme">
<item name="android:navigationBarColor">@color/activityBackground</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
</style>
</resources>