来源: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>