diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2016-12-30 20:04:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-30 20:04:42 +0100 |
commit | 3a32db36b8104e167a9fd2829b5306aa62c5e9f7 (patch) | |
tree | 59f1a062e38049e3d551a9e638ea5558d9a7ea71 /core | |
parent | 27bbe3ae80d9773a53e8e56dbb8990a8003489d7 (diff) | |
parent | 234caf3cd59cfec2af0edf6101aafa4b68f6d7de (diff) | |
download | AntennaPod-3a32db36b8104e167a9fd2829b5306aa62c5e9f7.zip |
Merge pull request #2201 from VarunBarad/develop
Add launch screen.
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/res/drawable/bg_splash.xml | 13 | ||||
-rw-r--r-- | core/src/main/res/values/styles.xml | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/core/src/main/res/drawable/bg_splash.xml b/core/src/main/res/drawable/bg_splash.xml new file mode 100644 index 000000000..dd66e3083 --- /dev/null +++ b/core/src/main/res/drawable/bg_splash.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + + <item + android:drawable="@color/overlay_dark"/> + + <item> + <bitmap + android:gravity="center" + android:src="@drawable/ic_launcher"/> + </item> + +</layer-list>
\ No newline at end of file diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index 9b20fdd02..4f228f8f1 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -239,6 +239,10 @@ <item name="attr/ic_cast_disconnect">@drawable/ic_cast_disconnect_white_36dp</item> </style> + <style name="Theme.AntennaPod.Dark.Splash" parent="Theme.AppCompat.NoActionBar"> + <item name="android:windowBackground">@drawable/bg_splash</item> + </style> + <style name="Theme.AntennaPod.VideoPlayer" parent="@style/Theme.AntennaPod.Dark"> <item name="windowActionBarOverlay">true</item> </style> |