Merge pull request #350 from KeizerDev/splash-screen

Added Splash Screen to bypass blank screen on start up.
This commit is contained in:
Christian Schabesberger 2016-09-11 23:57:30 +02:00 committed by GitHub
commit 2080bb2da1
4 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:drawable="@color/light_background_color"/>
<item>
<bitmap
android:gravity="center"
android:src="@mipmap/ic_launcher"/>
</item>
</layer-list>

View file

@ -48,6 +48,9 @@
<item name="background">@color/video_overlay_color</item>
</style>
<style name="SplashScreenTheme" parent="@style/AppTheme">
<item name="android:windowBackground">@drawable/splash_screen</item>
</style>
<!-- You can also inherit from NNF_BaseTheme.Light -->
<style name="FilePickerTheme" parent="NNF_BaseTheme.Light">