解决APP启动闪屏

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

[html]view plaincopy

true

@android:color/transparent

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

[html]view plaincopy

android:name=".XX"

android:theme="@style/AppTransparentTheme">

你可能感兴趣的:(解决APP启动闪屏)