New splash screen

This commit is contained in:
ByteHamster 2020-09-21 09:50:01 +02:00
parent e82702655e
commit 727f38cf63
5 changed files with 14 additions and 185 deletions

View File

@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

View File

@ -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>

View File

@ -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>

View File

@ -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">