diff options
author | VarunBarad <barad.varun29@gmail.com> | 2016-12-03 21:46:22 +0530 |
---|---|---|
committer | VarunBarad <barad.varun29@gmail.com> | 2016-12-03 21:46:22 +0530 |
commit | 50150730df677fcfa64fab996519001d9d4794c4 (patch) | |
tree | d58c1b53660a0e3bacde7a8fcee5a142ee69a633 /core | |
parent | 4ff8d5430fb83d54b7ef63132b400033e5cf4392 (diff) | |
download | AntennaPod-50150730df677fcfa64fab996519001d9d4794c4.zip |
Add branded 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> |