解决APP启动闪屏

2017-07-20  本文已影响0人  vonions

1.在style 中设置 背景透明色

[html]view plaincopy

true

@android:color/transparent

2.在配置文件中 设置启动页的Theme为 刚才设置的主题AppTransparentTheme

[html]view plaincopy

android:name=".XX"

android:theme="@style/AppTransparentTheme">

上一篇下一篇

猜你喜欢

热点阅读