OSDN Git Service

Eleven: adaptive icon
authorAsher Simonds <dayanhammer@gmail.com>
Mon, 12 Feb 2018 09:30:08 +0000 (10:30 +0100)
committerJoey <joey@lineageos.org>
Mon, 12 Feb 2018 09:30:08 +0000 (10:30 +0100)
Change-Id: I2c9f883489b068dbce3946ffa12a12d38f276c8a
Signed-off-by: Joey <joey@lineageos.org>
17 files changed:
AndroidManifest.xml
res/mipmap-anydpi/ic_launcher.xml [new file with mode: 0644]
res/mipmap-hdpi/ic_background.png [new file with mode: 0644]
res/mipmap-hdpi/ic_foreground.png [new file with mode: 0644]
res/mipmap-hdpi/ic_launcher_eleven.png [deleted file]
res/mipmap-mdpi/ic_background.png [new file with mode: 0644]
res/mipmap-mdpi/ic_foreground.png [new file with mode: 0644]
res/mipmap-mdpi/ic_launcher_eleven.png [deleted file]
res/mipmap-xhdpi/ic_background.png [new file with mode: 0644]
res/mipmap-xhdpi/ic_foreground.png [new file with mode: 0644]
res/mipmap-xhdpi/ic_launcher_eleven.png [deleted file]
res/mipmap-xxhdpi/ic_background.png [new file with mode: 0644]
res/mipmap-xxhdpi/ic_foreground.png [new file with mode: 0644]
res/mipmap-xxhdpi/ic_launcher_eleven.png [deleted file]
res/mipmap-xxxhdpi/ic_background.png [new file with mode: 0644]
res/mipmap-xxxhdpi/ic_foreground.png [new file with mode: 0644]
res/mipmap-xxxhdpi/ic_launcher_eleven.png [deleted file]

index 48d2186..164b327 100644 (file)
@@ -59,7 +59,7 @@
         android:allowTaskReparenting="true"
         android:hardwareAccelerated="@bool/config_hardwareAccelerated"
         android:appCategory="audio"
-        android:icon="@mipmap/ic_launcher_eleven"
+        android:icon="@mipmap/ic_launcher"
         android:label="@string/app_name"
         android:largeHeap="@bool/config_largeHeap"
         android:taskAffinity="org.lineageos.eleven.task"
diff --git a/res/mipmap-anydpi/ic_launcher.xml b/res/mipmap-anydpi/ic_launcher.xml
new file mode 100644 (file)
index 0000000..d8649ba
--- /dev/null
@@ -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 (file)
index 0000000..6d8a41a
Binary files /dev/null and b/res/mipmap-hdpi/ic_background.png differ
diff --git a/res/mipmap-hdpi/ic_foreground.png b/res/mipmap-hdpi/ic_foreground.png
new file mode 100644 (file)
index 0000000..a4b00df
Binary files /dev/null and b/res/mipmap-hdpi/ic_foreground.png differ
diff --git a/res/mipmap-hdpi/ic_launcher_eleven.png b/res/mipmap-hdpi/ic_launcher_eleven.png
deleted file mode 100644 (file)
index 407d91e..0000000
Binary files a/res/mipmap-hdpi/ic_launcher_eleven.png and /dev/null differ
diff --git a/res/mipmap-mdpi/ic_background.png b/res/mipmap-mdpi/ic_background.png
new file mode 100644 (file)
index 0000000..290a606
Binary files /dev/null and b/res/mipmap-mdpi/ic_background.png differ
diff --git a/res/mipmap-mdpi/ic_foreground.png b/res/mipmap-mdpi/ic_foreground.png
new file mode 100644 (file)
index 0000000..e83005b
Binary files /dev/null and b/res/mipmap-mdpi/ic_foreground.png differ
diff --git a/res/mipmap-mdpi/ic_launcher_eleven.png b/res/mipmap-mdpi/ic_launcher_eleven.png
deleted file mode 100644 (file)
index 0413c85..0000000
Binary files a/res/mipmap-mdpi/ic_launcher_eleven.png and /dev/null differ
diff --git a/res/mipmap-xhdpi/ic_background.png b/res/mipmap-xhdpi/ic_background.png
new file mode 100644 (file)
index 0000000..2fb57c0
Binary files /dev/null and b/res/mipmap-xhdpi/ic_background.png differ
diff --git a/res/mipmap-xhdpi/ic_foreground.png b/res/mipmap-xhdpi/ic_foreground.png
new file mode 100644 (file)
index 0000000..31e3bbf
Binary files /dev/null and b/res/mipmap-xhdpi/ic_foreground.png differ
diff --git a/res/mipmap-xhdpi/ic_launcher_eleven.png b/res/mipmap-xhdpi/ic_launcher_eleven.png
deleted file mode 100644 (file)
index e7f2784..0000000
Binary files a/res/mipmap-xhdpi/ic_launcher_eleven.png and /dev/null differ
diff --git a/res/mipmap-xxhdpi/ic_background.png b/res/mipmap-xxhdpi/ic_background.png
new file mode 100644 (file)
index 0000000..299086b
Binary files /dev/null and b/res/mipmap-xxhdpi/ic_background.png differ
diff --git a/res/mipmap-xxhdpi/ic_foreground.png b/res/mipmap-xxhdpi/ic_foreground.png
new file mode 100644 (file)
index 0000000..18fc65b
Binary files /dev/null and b/res/mipmap-xxhdpi/ic_foreground.png differ
diff --git a/res/mipmap-xxhdpi/ic_launcher_eleven.png b/res/mipmap-xxhdpi/ic_launcher_eleven.png
deleted file mode 100644 (file)
index 77fcd9b..0000000
Binary files a/res/mipmap-xxhdpi/ic_launcher_eleven.png and /dev/null differ
diff --git a/res/mipmap-xxxhdpi/ic_background.png b/res/mipmap-xxxhdpi/ic_background.png
new file mode 100644 (file)
index 0000000..4acede8
Binary files /dev/null and b/res/mipmap-xxxhdpi/ic_background.png differ
diff --git a/res/mipmap-xxxhdpi/ic_foreground.png b/res/mipmap-xxxhdpi/ic_foreground.png
new file mode 100644 (file)
index 0000000..c37e98f
Binary files /dev/null and b/res/mipmap-xxxhdpi/ic_foreground.png differ
diff --git a/res/mipmap-xxxhdpi/ic_launcher_eleven.png b/res/mipmap-xxxhdpi/ic_launcher_eleven.png
deleted file mode 100644 (file)
index 2e41d3e..0000000
Binary files a/res/mipmap-xxxhdpi/ic_launcher_eleven.png and /dev/null differ