![](/img/trans.png)
[英]How to Remove White Screen after Splash Screen in React Native For Android
[英]How to remove white screen before Splash screen React Native?
我在使用https://www.npmjs.com/package/react-native-splash-screen#examples啟動應用程序時添加了啟動畫面。
但在啟動啟動畫面之前,我可以看到一個白屏。 我可以使用 styles.xml 更改該屏幕的顏色,但無法將其刪除。 誰能幫我刪除我是 react-native 的新手?
Go 到 android/app/src/main/res/values/styles.xml
禁用應用的預覽:
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowDisablePreview">true</item>
</style>
</resources>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.