summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsher Simonds <dayanhammer@gmail.com>2018-02-12 10:28:12 +0100
committerLuK1337 <priv.luk@gmail.com>2019-10-21 21:42:08 +0200
commitd86757514a869e78775e75ac692e37004ca11118 (patch)
treea2219d079d7b7ff93e1ba4c67df4edbf04092a73
parenta09ba66e6f713d8382551f6447032cc228299283 (diff)
downloadandroid_packages_apps_Gallery2-d86757514a869e78775e75ac692e37004ca11118.tar.gz
android_packages_apps_Gallery2-d86757514a869e78775e75ac692e37004ca11118.tar.bz2
android_packages_apps_Gallery2-d86757514a869e78775e75ac692e37004ca11118.zip
Gallery: adaptive-icon
Change-Id: Ia9ff1e4028e83d67415391096b609dd82d71f77e Signed-off-by: Joey <joey@lineageos.org>
-rwxr-xr-xAndroidManifest.xml4
-rw-r--r--res/mipmap-anydpi/ic_launcher.xml20
-rw-r--r--res/mipmap-hdpi/ic_background.pngbin0 -> 2361 bytes
-rw-r--r--res/mipmap-hdpi/ic_foreground.pngbin0 -> 10544 bytes
-rw-r--r--res/mipmap-hdpi/ic_launcher_gallery.pngbin2536 -> 0 bytes
-rw-r--r--res/mipmap-mdpi/ic_background.pngbin0 -> 960 bytes
-rw-r--r--res/mipmap-mdpi/ic_foreground.pngbin0 -> 5708 bytes
-rw-r--r--res/mipmap-mdpi/ic_launcher_gallery.pngbin17130 -> 0 bytes
-rw-r--r--res/mipmap-xhdpi/ic_background.pngbin0 -> 3325 bytes
-rw-r--r--res/mipmap-xhdpi/ic_foreground.pngbin0 -> 16385 bytes
-rw-r--r--res/mipmap-xhdpi/ic_launcher_gallery.pngbin3277 -> 0 bytes
-rw-r--r--res/mipmap-xxhdpi/ic_background.pngbin0 -> 5792 bytes
-rw-r--r--res/mipmap-xxhdpi/ic_foreground.pngbin0 -> 32204 bytes
-rw-r--r--res/mipmap-xxhdpi/ic_launcher_gallery.pngbin4471 -> 0 bytes
-rw-r--r--res/mipmap-xxxhdpi/ic_background.pngbin0 -> 7947 bytes
-rw-r--r--res/mipmap-xxxhdpi/ic_foreground.pngbin0 -> 53009 bytes
16 files changed, 22 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index bc639e365..005657f14 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -60,9 +60,9 @@
android:normalScreens="true" android:largeScreens="true"
android:anyDensity="true" />
- <application android:icon="@mipmap/ic_launcher_gallery" android:label="@string/app_name"
+ <application android:icon="@mipmap/ic_launcher" android:label="@string/app_name"
android:name="com.android.gallery3d.app.GalleryAppImpl"
- android:logo="@mipmap/ic_launcher_gallery"
+ android:logo="@mipmap/ic_launcher"
android:hardwareAccelerated="true"
android:largeHeap="true"
android:appCategory="image"
diff --git a/res/mipmap-anydpi/ic_launcher.xml b/res/mipmap-anydpi/ic_launcher.xml
new file mode 100644
index 000000000..d8649ba56
--- /dev/null
+++ b/res/mipmap-anydpi/ic_launcher.xml
@@ -0,0 +1,20 @@
+<?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.
+-->
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@mipmap/ic_background"/>
+ <foreground android:drawable="@mipmap/ic_foreground"/>
+</adaptive-icon>
+
diff --git a/res/mipmap-hdpi/ic_background.png b/res/mipmap-hdpi/ic_background.png
new file mode 100644
index 000000000..16bcdc587
--- /dev/null
+++ b/res/mipmap-hdpi/ic_background.png
Binary files differ
diff --git a/res/mipmap-hdpi/ic_foreground.png b/res/mipmap-hdpi/ic_foreground.png
new file mode 100644
index 000000000..996929574
--- /dev/null
+++ b/res/mipmap-hdpi/ic_foreground.png
Binary files differ
diff --git a/res/mipmap-hdpi/ic_launcher_gallery.png b/res/mipmap-hdpi/ic_launcher_gallery.png
deleted file mode 100644
index a6eaaa384..000000000
--- a/res/mipmap-hdpi/ic_launcher_gallery.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-mdpi/ic_background.png b/res/mipmap-mdpi/ic_background.png
new file mode 100644
index 000000000..bc97fa9e0
--- /dev/null
+++ b/res/mipmap-mdpi/ic_background.png
Binary files differ
diff --git a/res/mipmap-mdpi/ic_foreground.png b/res/mipmap-mdpi/ic_foreground.png
new file mode 100644
index 000000000..a11ed3099
--- /dev/null
+++ b/res/mipmap-mdpi/ic_foreground.png
Binary files differ
diff --git a/res/mipmap-mdpi/ic_launcher_gallery.png b/res/mipmap-mdpi/ic_launcher_gallery.png
deleted file mode 100644
index e1a99498d..000000000
--- a/res/mipmap-mdpi/ic_launcher_gallery.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xhdpi/ic_background.png b/res/mipmap-xhdpi/ic_background.png
new file mode 100644
index 000000000..f12d9c0f0
--- /dev/null
+++ b/res/mipmap-xhdpi/ic_background.png
Binary files differ
diff --git a/res/mipmap-xhdpi/ic_foreground.png b/res/mipmap-xhdpi/ic_foreground.png
new file mode 100644
index 000000000..a63937e99
--- /dev/null
+++ b/res/mipmap-xhdpi/ic_foreground.png
Binary files differ
diff --git a/res/mipmap-xhdpi/ic_launcher_gallery.png b/res/mipmap-xhdpi/ic_launcher_gallery.png
deleted file mode 100644
index 345bbeeec..000000000
--- a/res/mipmap-xhdpi/ic_launcher_gallery.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xxhdpi/ic_background.png b/res/mipmap-xxhdpi/ic_background.png
new file mode 100644
index 000000000..5affeba7e
--- /dev/null
+++ b/res/mipmap-xxhdpi/ic_background.png
Binary files differ
diff --git a/res/mipmap-xxhdpi/ic_foreground.png b/res/mipmap-xxhdpi/ic_foreground.png
new file mode 100644
index 000000000..51c88b5ec
--- /dev/null
+++ b/res/mipmap-xxhdpi/ic_foreground.png
Binary files differ
diff --git a/res/mipmap-xxhdpi/ic_launcher_gallery.png b/res/mipmap-xxhdpi/ic_launcher_gallery.png
deleted file mode 100644
index b064bdb4d..000000000
--- a/res/mipmap-xxhdpi/ic_launcher_gallery.png
+++ /dev/null
Binary files differ
diff --git a/res/mipmap-xxxhdpi/ic_background.png b/res/mipmap-xxxhdpi/ic_background.png
new file mode 100644
index 000000000..89d2ea5f9
--- /dev/null
+++ b/res/mipmap-xxxhdpi/ic_background.png
Binary files differ
diff --git a/res/mipmap-xxxhdpi/ic_foreground.png b/res/mipmap-xxxhdpi/ic_foreground.png
new file mode 100644
index 000000000..63a5fd2e2
--- /dev/null
+++ b/res/mipmap-xxxhdpi/ic_foreground.png
Binary files differ