Gallery2: Bring in the new icon
* Part of the new iconset made by Asher Simonds
Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: Idad2787911a22c23e1d1dcafe7ae12d10797f95f
diff --git a/res/drawable/ic_launcher_background.xml b/res/drawable/ic_launcher_background.xml
new file mode 100644
index 0000000..ea21fc0
--- /dev/null
+++ b/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,27 @@
+<?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">
+ <group>
+ <clip-path
+ android:pathData="M0,0h108v108h-108z"/>
+ <path
+ android:pathData="M0,0h108v108h-108z"
+ android:fillColor="#CBDEFB"/>
+ <path
+ android:pathData="M15,108L78,45L141,108H15Z"
+ android:fillColor="#00354A"/>
+ <path
+ android:pathData="M-18,108L45,45L108,108H-18Z"
+ android:fillColor="#0092E4"/>
+ <path
+ android:pathData="M61,13L45,29L61,45L77,29L61,13Z"
+ android:fillColor="#F09F38"/>
+ </group>
+</vector>
diff --git a/res/drawable/ic_launcher_camera_background.xml b/res/drawable/ic_launcher_camera_background.xml
new file mode 100644
index 0000000..f99df4a
--- /dev/null
+++ b/res/drawable/ic_launcher_camera_background.xml
@@ -0,0 +1,27 @@
+<?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="#2A3232"/>
+ <path
+ android:pathData="M52.472,34C50.957,34 49.572,34.856 48.894,36.211L47,40L33.084,43.274C31.277,43.7 30,45.312 30,47.168V66C30,68.209 31.791,70 34,70H74C76.209,70 78,68.209 78,66V46.599C78,45.019 77.069,43.586 75.625,42.944L69,40L67.106,36.211C66.428,34.856 65.043,34 63.528,34H52.472Z"
+ android:fillColor="#98A7A7"
+ android:fillType="evenOdd"/>
+ <path
+ android:pathData="M30,47.171C30,45.314 31.278,43.701 33.086,43.277L38,42.124V70.001H34C31.791,70.001 30,68.21 30,66.001V47.171Z"
+ android:fillColor="#D0D7D8"/>
+ <path
+ android:pathData="M34,47m-2,0a2,2 0,1 1,4 0a2,2 0,1 1,-4 0"
+ android:fillColor="#0092E4"/>
+ <path
+ android:pathData="M58,54m-14,0a14,14 0,1 1,28 0a14,14 0,1 1,-28 0"
+ android:fillColor="#2A3232"/>
+</vector>
diff --git a/res/drawable/ic_launcher_camera_foreground.xml b/res/drawable/ic_launcher_camera_foreground.xml
new file mode 100644
index 0000000..ab24a75
--- /dev/null
+++ b/res/drawable/ic_launcher_camera_foreground.xml
@@ -0,0 +1,36 @@
+<?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"/>
+ <path
+ android:pathData="M58,55m-17,0a17,17 0,1 1,34 0a17,17 0,1 1,-34 0"
+ android:fillColor="#596666"/>
+ <path
+ android:pathData="M58,55m-15,0a15,15 0,1 1,30 0a15,15 0,1 1,-30 0"
+ android:fillColor="#2A3232"/>
+ <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>
+ </group>
+</vector>
diff --git a/res/drawable/ic_launcher_foreground.xml b/res/drawable/ic_launcher_foreground.xml
new file mode 100644
index 0000000..665ce95
--- /dev/null
+++ b/res/drawable/ic_launcher_foreground.xml
@@ -0,0 +1,34 @@
+<?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"/>
+ <path
+ android:pathData="M108,0H0V108H108V0ZM34,38C31.791,38 30,39.791 30,42V66C30,68.209 31.791,70 34,70H74C76.209,70 78,68.209 78,66V42C78,39.791 76.209,38 74,38H34Z"
+ android:fillColor="#ffffff"
+ 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>
+ </group>
+</vector>
diff --git a/res/mipmap-anydpi/ic_launcher.xml b/res/mipmap-anydpi/ic_launcher.xml
index d8649ba..3d90bc5 100644
--- a/res/mipmap-anydpi/ic_launcher.xml
+++ b/res/mipmap-anydpi/ic_launcher.xml
@@ -1,20 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (c) 2018 The LineageOS Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+<!--
+ 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="@mipmap/ic_background"/>
- <foreground android:drawable="@mipmap/ic_foreground"/>
+ <background android:drawable="@drawable/ic_launcher_background"/>
+ <foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
-
diff --git a/res/mipmap-anydpi/ic_launcher_camera.xml b/res/mipmap-anydpi/ic_launcher_camera.xml
new file mode 100644
index 0000000..dc6bf3b
--- /dev/null
+++ b/res/mipmap-anydpi/ic_launcher_camera.xml
@@ -0,0 +1,9 @@
+<?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_camera_background"/>
+ <foreground android:drawable="@drawable/ic_launcher_camera_foreground"/>
+</adaptive-icon>
diff --git a/res/mipmap-hdpi/ic_background.png b/res/mipmap-hdpi/ic_background.png
deleted file mode 100644
index 16bcdc5..0000000
--- a/res/mipmap-hdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-hdpi/ic_foreground.png b/res/mipmap-hdpi/ic_foreground.png
deleted file mode 100644
index 9969295..0000000
--- a/res/mipmap-hdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-hdpi/ic_launcher_camera.png b/res/mipmap-hdpi/ic_launcher_camera.png
deleted file mode 100644
index c1ebe77..0000000
--- a/res/mipmap-hdpi/ic_launcher_camera.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-mdpi/ic_background.png b/res/mipmap-mdpi/ic_background.png
deleted file mode 100644
index bc97fa9..0000000
--- a/res/mipmap-mdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-mdpi/ic_foreground.png b/res/mipmap-mdpi/ic_foreground.png
deleted file mode 100644
index a11ed30..0000000
--- a/res/mipmap-mdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-mdpi/ic_launcher_camera.png b/res/mipmap-mdpi/ic_launcher_camera.png
deleted file mode 100644
index 20f1499..0000000
--- a/res/mipmap-mdpi/ic_launcher_camera.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xhdpi/ic_background.png b/res/mipmap-xhdpi/ic_background.png
deleted file mode 100644
index f12d9c0..0000000
--- a/res/mipmap-xhdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xhdpi/ic_foreground.png b/res/mipmap-xhdpi/ic_foreground.png
deleted file mode 100644
index a63937e..0000000
--- a/res/mipmap-xhdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xhdpi/ic_launcher_camera.png b/res/mipmap-xhdpi/ic_launcher_camera.png
deleted file mode 100644
index 972ee40..0000000
--- a/res/mipmap-xhdpi/ic_launcher_camera.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xxhdpi/ic_background.png b/res/mipmap-xxhdpi/ic_background.png
deleted file mode 100644
index 5affeba..0000000
--- a/res/mipmap-xxhdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xxhdpi/ic_foreground.png b/res/mipmap-xxhdpi/ic_foreground.png
deleted file mode 100644
index 51c88b5..0000000
--- a/res/mipmap-xxhdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xxhdpi/ic_launcher_camera.png b/res/mipmap-xxhdpi/ic_launcher_camera.png
deleted file mode 100644
index 4cc58ee..0000000
--- a/res/mipmap-xxhdpi/ic_launcher_camera.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xxxhdpi/ic_background.png b/res/mipmap-xxxhdpi/ic_background.png
deleted file mode 100644
index 89d2ea5..0000000
--- a/res/mipmap-xxxhdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xxxhdpi/ic_foreground.png b/res/mipmap-xxxhdpi/ic_foreground.png
deleted file mode 100644
index 63a5fd2..0000000
--- a/res/mipmap-xxxhdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xxxhdpi/ic_launcher_camera.png b/res/mipmap-xxxhdpi/ic_launcher_camera.png
deleted file mode 100644
index 00de613..0000000
--- a/res/mipmap-xxxhdpi/ic_launcher_camera.png
+++ /dev/null
Binary files differ