Android解决APP启动白屏或者黑屏闪现的问题

来源:http://www.tuicool.com/articles/y2AVnu

启动App之前出现白屏,不管主页做的多好看,白屏都让人感觉用户体验特别差劲。

只要把主题设置为透明就好了。

<style name= "AppTheme" parent= "android:style/Theme.Black.NoTitleBar.Fullscreen" type= "text/css" >

<item name=android:windowIsTranslucent> true </item>

</style>

posted @ 2015-10-19 10:35  呼啦啦啦花开啦  阅读(291)  评论(0编辑  收藏  举报