diff options
author | ByteHamster <info@bytehamster.com> | 2020-09-21 09:50:01 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-09-21 09:50:33 +0200 |
commit | 727f38cf633a73ff219e66d5924691b95dc9a9e9 (patch) | |
tree | 416e21ff21ee97cf788605463a33d8ab6217bf9f /core/src/main/res | |
parent | e82702655e5b2b5a4c5fe2a3d9276f052571ac68 (diff) | |
download | AntennaPod-727f38cf633a73ff219e66d5924691b95dc9a9e9.zip |
New splash screen
Diffstat (limited to 'core/src/main/res')
-rw-r--r-- | core/src/main/res/drawable-nodpi/ic_launcher_foreground_no_finish.png | bin | 0 -> 74988 bytes | |||
-rw-r--r-- | core/src/main/res/drawable/bg_splash.xml | 12 | ||||
-rw-r--r-- | core/src/main/res/values/colors.xml | 4 | ||||
-rw-r--r-- | core/src/main/res/values/styles.xml | 4 |
4 files changed, 14 insertions, 6 deletions
diff --git a/core/src/main/res/drawable-nodpi/ic_launcher_foreground_no_finish.png b/core/src/main/res/drawable-nodpi/ic_launcher_foreground_no_finish.png Binary files differnew file mode 100644 index 000000000..33a5b3fe4 --- /dev/null +++ b/core/src/main/res/drawable-nodpi/ic_launcher_foreground_no_finish.png diff --git a/core/src/main/res/drawable/bg_splash.xml b/core/src/main/res/drawable/bg_splash.xml index 32241ec22..929fe411a 100644 --- a/core/src/main/res/drawable/bg_splash.xml +++ b/core/src/main/res/drawable/bg_splash.xml @@ -1,13 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> - <item - android:drawable="@color/ic_launcher_background"/> + <item> + <shape android:shape="rectangle" > + <gradient + android:angle="-90" + android:startColor="@color/icon_background_gradient_start" + android:endColor="@color/icon_background_gradient_end" /> + </shape> + </item> <item> <bitmap android:gravity="center" - android:src="@mipmap/ic_launcher_foreground"/> + android:src="@drawable/ic_launcher_foreground_no_finish"/> </item> </layer-list>
\ No newline at end of file diff --git a/core/src/main/res/values/colors.xml b/core/src/main/res/values/colors.xml index a86d61eba..8cb386fcf 100644 --- a/core/src/main/res/values/colors.xml +++ b/core/src/main/res/values/colors.xml @@ -23,9 +23,11 @@ <color name="accent_light">#0078C2</color> <color name="accent_dark">#3D8BFF</color> - <color name="ic_launcher_background">#008AB8</color> <color name="master_switch_background_light">#DDDDDD</color> <color name="master_switch_background_dark">#191919</color> + <color name="icon_background_gradient_start">#0ba2ff</color> + <color name="icon_background_gradient_end">#0878ff</color> + </resources> diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index ab78eac47..b7e482a91 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -224,8 +224,8 @@ <style name="Theme.AntennaPod.Splash" parent="Theme.MaterialComponents.NoActionBar"> <item name="android:windowBackground">@drawable/bg_splash</item> - <item name="colorPrimary">@color/ic_launcher_background</item> - <item name="colorPrimaryDark">@color/ic_launcher_background</item> + <item name="colorPrimary">@color/icon_background_gradient_start</item> + <item name="colorPrimaryDark">@color/icon_background_gradient_start</item> </style> <style name="Theme.AntennaPod.VideoPlayer" parent="@style/Theme.AntennaPod.Dark"> |