Skip to content

Commit ee94b83

Browse files
committed
Monochrome variant for round icon too
1 parent 725ff4c commit ee94b83

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

app/src/main/res/drawable/ic_launcher_foreground_monochrome.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
android:viewportWidth="108"
55
android:viewportHeight="108">
66
<path
7-
android:fillColor="#020000"
7+
android:fillColor="#000000"
88
android:pathData="m50.29,47.15a0.82,0.86 90,0 0,-0.79 1.14l2.29,5.2a0.82,0.86 90,0 0,0.79 0.5l2.86,0a0.82,0.86 90,0 0,0.79 -0.5l2.29,-5.2a0.82,0.86 90,0 0,-0.79 -1.14zM51.58,48.79l4.85,0l-1.56,3.56l-1.72,0z" />
99
<path
10-
android:fillColor="#020000"
10+
android:fillColor="#000000"
1111
android:pathData="m51.64,35.73 l-6.86,3.01a0.82,0.86 90,0 0,-0.42 1.09,0.82 0.86,90 0,0 1.14,0.4l6.86,-3.01a0.82,0.86 90,0 0,0.42 -1.09,0.82 0.86,90 0,0 -1.14,-0.4z" />
1212
<path
13-
android:fillColor="#020000"
13+
android:fillColor="#000000"
1414
android:pathData="m56.36,35.73a0.82,0.86 90,0 0,-1.14 0.4,0.82 0.86,90 0,0 0.42,1.09l6.86,3.01a0.82,0.86 90,0 0,1.14 -0.4,0.82 0.86,90 0,0 -0.42,-1.09z" />
1515
<path
1616
android:fillColor="#000000"

app/src/main/res/drawable/ic_launcher_foreground_monochrome_debug.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
android:fillColor="#000000"
88
android:pathData="M45,28C44.19,28 43.57,28.39 43.03,28.87C42.49,29.34 42,29.92 42,30.74L42,33L38.15,33L38.15,43.9L42,43.9L42,48L38,48C35.8,48 34.02,49.8 34.02,52L34,72C34,74.2 35.8,76 38,76L70,76C72.2,76 74,74.2 74,72L74,52C74,49.8 72.2,48 70,48L66,48L66,43.9L69.85,43.9L69.85,33L66,33L66,30.74C66,29.96 65.57,29.37 65.07,28.89C64.57,28.41 63.95,28 63.14,28L45,28zM44.99,29.64L44.99,29.64C45,29.64 45,29.64 45,29.64L45,29.64L63.14,29.64C63.19,29.64 63.58,29.78 63.86,30.05C64.14,30.32 64.29,30.69 64.29,30.74L64.29,33L43.71,33L43.71,30.74C43.71,30.74 43.87,30.35 44.19,30.07C44.49,29.8 44.92,29.65 44.99,29.64zM66.33,34.7C66.64,34.7 66.94,34.74 67.22,34.83C67.5,34.92 67.77,35.05 68.02,35.22L68.02,36.22C67.88,36.09 67.74,35.98 67.6,35.89C67.47,35.8 67.34,35.72 67.22,35.67C67.07,35.61 66.93,35.56 66.78,35.54C66.63,35.51 66.49,35.5 66.34,35.5C65.71,35.5 65.24,35.74 64.92,36.23C64.6,36.72 64.44,37.47 64.44,38.46C64.44,38.97 64.48,39.41 64.56,39.77C64.63,40.13 64.75,40.44 64.9,40.68C65.21,41.16 65.69,41.4 66.33,41.4C66.54,41.4 66.73,41.38 66.89,41.33C66.97,41.3 67.05,41.27 67.12,41.23C67.2,41.2 67.27,41.15 67.33,41.09L67.33,39.15L66.28,39.15L66.28,38.35L68.27,38.35L68.27,41.46C68,41.71 67.71,41.89 67.39,42.01C67.06,42.13 66.7,42.2 66.31,42.2C65.85,42.2 65.44,42.11 65.08,41.95C64.73,41.78 64.43,41.53 64.18,41.21C63.67,40.55 63.42,39.63 63.42,38.46C63.42,37.26 63.68,36.34 64.19,35.69C64.71,35.03 65.42,34.7 66.33,34.7zM39.73,34.82L41.2,34.82C42.3,34.82 43.11,35.11 43.64,35.7C44.16,36.28 44.42,37.2 44.42,38.44C44.42,39.66 44.16,40.57 43.64,41.16C43.11,41.75 42.3,42.04 41.2,42.04L39.73,42.04L39.73,34.82zM45.99,34.82L50.27,34.82L50.27,35.64L46.96,35.64L46.96,37.78L50.13,37.78L50.13,38.6L46.96,38.6L46.96,41.22L50.37,41.22L50.37,42.04L45.99,42.04L45.99,34.82zM51.8,34.82L53.94,34.82C54.67,34.82 55.24,34.98 55.65,35.29C56.05,35.61 56.25,36.07 56.25,36.65C56.25,36.88 56.22,37.08 56.16,37.25C56.11,37.42 56.03,37.57 55.93,37.7C55.83,37.82 55.7,37.92 55.54,38C55.38,38.08 55.2,38.14 54.98,38.17C55.46,38.24 55.83,38.45 56.1,38.78C56.37,39.11 56.5,39.54 56.5,40.06C56.5,40.71 56.28,41.2 55.86,41.54C55.42,41.87 54.78,42.04 53.94,42.04L51.8,42.04L51.8,34.82zM57.67,34.82L58.66,34.82L58.66,39.71C58.66,40.06 58.67,40.31 58.69,40.46C58.7,40.61 58.74,40.73 58.79,40.81C58.89,41 59.04,41.15 59.24,41.24C59.43,41.34 59.66,41.39 59.94,41.39C60.22,41.39 60.46,41.34 60.65,41.24C60.85,41.14 61,40.99 61.1,40.81C61.16,40.72 61.19,40.6 61.21,40.47C61.22,40.32 61.23,40.07 61.23,39.72L61.23,34.82L62.21,34.82L62.21,39.27C62.21,39.69 62.2,40.02 62.17,40.26C62.15,40.5 62.11,40.69 62.08,40.84C61.99,41.15 61.83,41.41 61.6,41.61C61.5,41.71 61.38,41.79 61.24,41.87C61.12,41.94 60.99,41.99 60.86,42.04C60.74,42.08 60.61,42.11 60.46,42.14C60.3,42.17 60.13,42.18 59.94,42.18C59.61,42.18 59.3,42.13 59.03,42.04C58.9,41.99 58.77,41.94 58.64,41.87C58.5,41.79 58.39,41.71 58.28,41.61C58.18,41.52 58.09,41.42 58.02,41.29C57.94,41.17 57.87,41.02 57.82,40.84C57.77,40.67 57.73,40.47 57.71,40.23C57.68,39.99 57.67,39.66 57.67,39.27L57.67,34.82zM40.71,35.62L40.71,41.24L41.18,41.24C42.01,41.24 42.58,41.03 42.9,40.63C43.23,40.22 43.39,39.49 43.39,38.43C43.39,37.36 43.23,36.62 42.91,36.22C42.74,36.02 42.51,35.87 42.22,35.77C41.93,35.67 41.58,35.62 41.18,35.62L40.71,35.62zM52.78,35.62L52.78,37.8L53.92,37.8C54.4,37.8 54.74,37.71 54.95,37.52C55.15,37.34 55.26,37.05 55.26,36.66C55.26,36.29 55.16,36.02 54.95,35.86C54.74,35.7 54.4,35.62 53.92,35.62L52.78,35.62zM52.78,38.59L52.78,41.24L53.94,41.24C54.5,41.24 54.91,41.14 55.15,40.94C55.4,40.74 55.52,40.41 55.52,39.96C55.52,39.49 55.39,39.14 55.13,38.92C54.88,38.7 54.48,38.59 53.94,38.59L52.78,38.59zM43.71,43.9L64.29,43.9L64.29,49.88C64.29,50.28 63.91,51.16 63.16,52.11C62.42,53.05 61.35,54.09 60.2,55.03C59.04,55.98 57.78,56.83 56.65,57.43C55.52,58.04 54.49,58.36 54,58.36C53.52,58.36 52.48,58.04 51.35,57.43C50.22,56.83 48.96,55.98 47.81,55.03C46.65,54.09 45.59,53.05 44.84,52.11C44.09,51.16 43.71,50.28 43.71,49.88L43.71,43.9zM40,54L44,54L44,58L40,58L40,54zM64,54L68,54L68,58L64,58L64,54zM62,55.7L62,58L58.95,58C57.96,58.71 60.91,56.59 61.3,56.28C61.54,56.09 61.77,55.9 62,55.7zM46,55.7C46.23,55.9 46.46,56.09 46.69,56.28C47.46,56.88 48.24,57.46 49.05,58L46,58L46,55.7zM40,60L44,60L44,64L40,64L40,60zM46,60L50,60L50,64L46,64L46,60zM52,60L54,60L56,60L56,64L52,64L52,60zM58,60L62,60L62,64L58,64L58,60zM64,60L68,60L68,64L64,64L64,60zM46,68L62,68L62,72L46,72L46,68z" />
99
<path
10-
android:fillColor="#020000"
10+
android:fillColor="#000000"
1111
android:pathData="m50.29,47.15a0.86,0.82 0,0 0,-0.79 1.14l2.29,5.2a0.86,0.82 0,0 0,0.79 0.5L55.43,53.98a0.86,0.82 0,0 0,0.79 -0.5l2.29,-5.2A0.86,0.82 0,0 0,57.71 47.15ZM51.58,48.79L56.42,48.79l-1.56,3.56h-1.72z" />
1212
</vector>

app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@drawable/ic_launcher_background" />
44
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_foreground_monochrome" />
56
</adaptive-icon>

app/src/main/res/mipmap-anydpi-v26/ic_launcher_round_debug.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@drawable/ic_launcher_background" />
44
<foreground android:drawable="@drawable/ic_launcher_foreground_debug" />
5+
<monochrome android:drawable="@drawable/ic_launcher_foreground_monochrome_debug" />
56
</adaptive-icon>

0 commit comments

Comments
 (0)