启动页面
2017-12-07 本文已影响52人
zhi5ai
白屏问题 2277!!
注释掉 setContentView(R.layout.activity_splash);
<style name="SplashTheme" parent="AppTheme.NoActionBar">
<item name="android:windowBackground">@drawable/background</item>
</style>
<activity android:name=".SplashActivity"
android:theme="@style/SplashTheme"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>