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 | |
parent | e82702655e5b2b5a4c5fe2a3d9276f052571ac68 (diff) | |
download | AntennaPod-727f38cf633a73ff219e66d5924691b95dc9a9e9.zip |
New splash screen
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/debug/res/drawable/ic_launcher_background_debug.xml | 179 | ||||
-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 |
5 files changed, 14 insertions, 185 deletions
diff --git a/core/src/debug/res/drawable/ic_launcher_background_debug.xml b/core/src/debug/res/drawable/ic_launcher_background_debug.xml deleted file mode 100644 index 3bc445a92..000000000 --- a/core/src/debug/res/drawable/ic_launcher_background_debug.xml +++ /dev/null @@ -1,179 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="108dp" - android:height="108dp" - android:viewportWidth="19.242424" - android:viewportHeight="19.242424"> - <group android:translateX="3.271212" - android:translateY="3.271212"> - <path - android:pathData="M-5.2197,-5.2361h23.5693v23.3376h-23.5693z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.1750972" - android:fillColor="#008ab8" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:fillAlpha="1" - android:strokeLineCap="round"/> - <path - android:pathData="M19.0258,11.307l0.0086,0.1205l-24.1082,1.7194l-0.0086,-0.1205z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M18.8452,8.7757l0.0258,0.3616l-24.1082,1.7194l-0.0258,-0.3616z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.1376536" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M18.6819,6.4854l0.0086,0.1205l-24.1082,1.7194l-0.0086,-0.1205z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M18.5099,4.0746l0.0086,0.1205l-24.1082,1.7194l-0.0086,-0.1205z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M18.3294,1.5432l0.0258,0.3616l-24.1082,1.7194l-0.0258,-0.3616z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.13765359" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M18.166,-0.7471l0.0086,0.1205l-24.1082,1.7194l-0.0086,-0.1205z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M19.1977,13.7179l0.0086,0.1205l-24.1082,1.7194l-0.0086,-0.1205z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M17.9941,-3.1579l0.0086,0.1205l-24.1082,1.7194l-0.0086,-0.1205z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M11.6532,-6.2797l0.1205,-0.0086l1.7194,24.1082l-0.1205,0.0086z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M9.1218,-6.0991l0.3616,-0.0258l1.7194,24.1082l-0.3616,0.0258z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.1376536" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M6.8315,-5.9358l0.1205,-0.0086l1.7194,24.1082l-0.1205,0.0086z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M4.4207,-5.7638l0.1205,-0.0086l1.7194,24.1082l-0.1205,0.0086z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M1.8893,-5.5833l0.3616,-0.0258l1.7194,24.1082l-0.3616,0.0258z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.13765359" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M-0.4009,-5.42l0.1205,-0.0086l1.7194,24.1082l-0.1205,0.0086z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M14.064,-6.4516l0.1205,-0.0086l1.7194,24.1082l-0.1205,0.0086z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - <path - android:pathData="M-2.8118,-5.248l0.1205,-0.0086l1.7194,24.1082l-0.1205,0.0086z" - android:strokeAlpha="1" - android:strokeLineJoin="round" - android:strokeWidth="0.07947434" - android:fillColor="#0079a1" - android:fillAlpha="1" - android:strokeColor="#00000000" - android:fillType="nonZero" - android:strokeLineCap="round"/> - </group> -</vector> 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"> |