Skip to content

Commit 954c90d

Browse files
fix day launcher not showing splash screen background
1 parent d238ee7 commit 954c90d

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<color xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:color="#1b1b1b" />
2+
android:color="#1B1B1B" />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<color xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:color="#1b1b1b" />
2+
android:color="#1B1B1B" />

patches/src/main/resources/custom-branding/mipmap-anydpi/revanced_adaptive_foreground_minimal.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
android:height="108dp"
55
android:viewportWidth="256"
66
android:viewportHeight="256">
7+
<!-- Android launcher can hide the background layer if it's black or nearly black.
8+
The dark background is needed to see the V shape in day mode. To prevent hiding
9+
the layer it must be added to the foreground. -->
10+
<path
11+
android:pathData="M0,0 L256,0 L256,256 L0,256 Z"
12+
android:fillColor="#1B1B1B" />
713
<group android:scaleX="0.24"
814
android:scaleY="0.24"
915
android:translateX="97.28"

patches/src/main/resources/custom-branding/mipmap-anydpi/revanced_adaptive_foreground_rounded.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
android:translateY="200">
1111
<path
1212
android:pathData="M400,400m-400,0a400,400 0,1 1,800 0a400,400 0,1 1,-800 0"
13-
android:fillColor="#1b1b1b"/>
13+
android:fillColor="#1B1B1B"/>
1414
<path
1515
android:pathData="M400,0c220.77,0 400,179.23 400,400c-0,220.77 -179.23,400 -400,400c-220.77,-0 -400,-179.23 -400,-400c0,-220.77 179.23,-400 400,-400ZM400,36c200.9,-0 364,163.1 364,364c0,200.9 -163.1,364 -364,364c-200.9,0 -364,-163.1 -364,-364c-0,-200.9 163.1,-364 364,-364Z"
1616
android:strokeLineJoin="round"

patches/src/main/resources/custom-branding/mipmap-anydpi/revanced_adaptive_foreground_scaled.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
android:height="108dp"
55
android:viewportWidth="256"
66
android:viewportHeight="256">
7+
<!-- Android launcher can hide the background layer if it's black or nearly black.
8+
The dark background is needed to see the V shape in day mode. To prevent hiding
9+
the layer it must be added to the foreground. -->
10+
<path
11+
android:pathData="M0,0 L256,0 L256,256 L0,256 Z"
12+
android:fillColor="#000000" />
713
<group android:scaleX="0.3"
814
android:scaleY="0.3"
915
android:translateX="89.6"

0 commit comments

Comments
 (0)