use a black splash screen at app launch

This commit is contained in:
tibbi 2016-06-26 15:33:54 +02:00
parent 9729b33f0e
commit 49815169a2
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,8 @@
android:theme="@style/AppTheme">
<activity
android:name=".activities.MainActivity"
android:screenOrientation="portrait">
android:screenOrientation="portrait"
android:theme="@style/BlackSplashScreen">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

View File

@ -7,6 +7,10 @@
<item name="actionBarStyle">@style/AppTheme.ActionBarStyle</item>
</style>
<style name="BlackSplashScreen" parent="AppTheme">
<item name="android:windowBackground">@null</item>
</style>
<style name="AppTheme.ActionBarStyle" parent="@style/Base.Widget.AppCompat.ActionBar">
<item name="background">@color/colorPrimary</item>
<item name="titleTextStyle">@style/AppTheme.ActionBar.TitleTextStyle</item>