SHIFT-Home: Update launcher icon
Issue: otter-82
Change-Id: I8b2f895ee7ded763bb0b56efcd23e104b2a7baea
diff --git a/res/drawable/ic_launcher_background.xml b/res/drawable/ic_launcher_background.xml
deleted file mode 100644
index fb2ab55..0000000
--- a/res/drawable/ic_launcher_background.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- SPDX-FileCopyrightText: 2022 The LineageOS Project
- SPDX-License-Identifier: Apache-2.0
--->
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="108dp"
- android:height="108dp"
- android:viewportWidth="108"
- android:viewportHeight="108">
- <path
- android:pathData="M0,0h108v108h-108z"
- android:fillColor="#CAE1E2"/>
- <path
- android:pathData="M66,66m-8,0a8,8 0,1 1,16 0a8,8 0,1 1,-16 0"
- android:fillColor="#85BABC"/>
- <path
- android:pathData="M42,66m-8,0a8,8 0,1 1,16 0a8,8 0,1 1,-16 0"
- android:fillColor="#85BABC"/>
- <path
- android:pathData="M54,62m-8,0a8,8 0,1 1,16 0a8,8 0,1 1,-16 0"
- android:fillColor="#167C80"/>
-</vector>
diff --git a/res/drawable/ic_launcher_foreground.xml b/res/drawable/ic_launcher_foreground.xml
index 2d10ca5..fa2a6dc 100644
--- a/res/drawable/ic_launcher_foreground.xml
+++ b/res/drawable/ic_launcher_foreground.xml
@@ -1,34 +1,14 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- SPDX-FileCopyrightText: 2022 The LineageOS Project
- SPDX-License-Identifier: Apache-2.0
--->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
- android:viewportWidth="108"
- android:viewportHeight="108">
- <group>
- <clip-path
- android:pathData="M0,0h108v108h-108z"/>
+ android:viewportWidth="500"
+ android:viewportHeight="500">
+ <group android:scaleX="0.65"
+ android:scaleY="0.65"
+ android:translateX="87.5"
+ android:translateY="85">
<path
- android:pathData="M108,0H0V108H108V0ZM42,30C39.791,30 38,31.791 38,34V74C38,76.209 39.791,78 42,78H66C68.209,78 70,76.209 70,74V34C70,31.791 68.209,30 66,30H42Z"
- android:fillColor="#2A3232"
- android:fillType="evenOdd"/>
- <path
- android:pathData="M28.54,28.54m-72,0a72,72 0,1 1,144 0a72,72 0,1 1,-144 0"
- android:fillAlpha="0.6">
- <aapt:attr name="android:fillColor">
- <gradient
- android:gradientRadius="72"
- android:centerX="28.54"
- android:centerY="28.54"
- android:type="radial">
- <item android:offset="0" android:color="#19FFFFFF"/>
- <item android:offset="1" android:color="#00FFFFFF"/>
- </gradient>
- </aapt:attr>
- </path>
+ android:pathData="M212.67,372.7L152.08,372.7C141.45,372.7 132.83,364.09 132.83,353.47L132.83,210.21C132.83,203.86 135.57,197.79 140.39,193.43L242.48,99.97C246.72,96.23 253.26,96.22 257.51,99.97L359.61,193.43C364.43,197.79 367.16,203.86 367.16,210.21L367.16,353.47C367.16,364.09 358.55,372.7 347.93,372.7L287.33,372.7L287.33,273.93C287.33,267.6 282.19,262.46 275.86,262.46L224.15,262.46C217.81,262.46 212.67,267.6 212.67,273.93L212.67,372.7Z"
+ android:fillColor="#ffffff"/>
</group>
</vector>
diff --git a/res/drawable/ic_launcher_monochrome.xml b/res/drawable/ic_launcher_monochrome.xml
new file mode 100644
index 0000000..fa2a6dc
--- /dev/null
+++ b/res/drawable/ic_launcher_monochrome.xml
@@ -0,0 +1,14 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="108dp"
+ android:height="108dp"
+ android:viewportWidth="500"
+ android:viewportHeight="500">
+ <group android:scaleX="0.65"
+ android:scaleY="0.65"
+ android:translateX="87.5"
+ android:translateY="85">
+ <path
+ android:pathData="M212.67,372.7L152.08,372.7C141.45,372.7 132.83,364.09 132.83,353.47L132.83,210.21C132.83,203.86 135.57,197.79 140.39,193.43L242.48,99.97C246.72,96.23 253.26,96.22 257.51,99.97L359.61,193.43C364.43,197.79 367.16,203.86 367.16,210.21L367.16,353.47C367.16,364.09 358.55,372.7 347.93,372.7L287.33,372.7L287.33,273.93C287.33,267.6 282.19,262.46 275.86,262.46L224.15,262.46C217.81,262.46 212.67,267.6 212.67,273.93L212.67,372.7Z"
+ android:fillColor="#ffffff"/>
+ </group>
+</vector>
diff --git a/res/mipmap-anydpi/ic_launcher.xml b/res/mipmap-anydpi/ic_launcher.xml
index 3d90bc5..10bc7a5 100644
--- a/res/mipmap-anydpi/ic_launcher.xml
+++ b/res/mipmap-anydpi/ic_launcher.xml
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- SPDX-FileCopyrightText: 2022 The LineageOS Project
- SPDX-License-Identifier: Apache-2.0
--->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
- <background android:drawable="@drawable/ic_launcher_background"/>
+ <background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
+ <monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
diff --git a/res/values/ic_launcher_background.xml b/res/values/ic_launcher_background.xml
new file mode 100644
index 0000000..cdde88f
--- /dev/null
+++ b/res/values/ic_launcher_background.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="ic_launcher_background">#000000</color>
+</resources>