diff options
author | Asher Simonds <dayanhammer@gmail.com> | 2018-02-12 10:47:16 +0100 |
---|---|---|
committer | Kevin F. Haggerty <haggertk@lineageos.org> | 2018-11-01 22:02:16 -0600 |
commit | 2f60202b60450f4e43a4506694c06f7c1622715c (patch) | |
tree | d08fe3fef5ad0458fb2d805c2893cf329f428b32 | |
parent | 224af3150780f75e0e81dcbf30cb1866b0236bd3 (diff) | |
download | android_packages_apps_Trebuchet-2f60202b60450f4e43a4506694c06f7c1622715c.tar.gz android_packages_apps_Trebuchet-2f60202b60450f4e43a4506694c06f7c1622715c.tar.bz2 android_packages_apps_Trebuchet-2f60202b60450f4e43a4506694c06f7c1622715c.zip |
Trebuchet: adaptive icon
Change-Id: I84662d7cb35ed751c61c6223dc02f256f5ab3311
Signed-off-by: Joey <joey@lineageos.org>
-rw-r--r-- | AndroidManifest.xml | 5 | ||||
-rw-r--r-- | quickstep/AndroidManifest.xml | 5 | ||||
-rw-r--r-- | res/mipmap-anydpi/ic_launcher.xml | 20 | ||||
-rw-r--r-- | res/mipmap-hdpi/ic_background.png | bin | 0 -> 6132 bytes | |||
-rw-r--r-- | res/mipmap-hdpi/ic_foreground.png | bin | 0 -> 9469 bytes | |||
-rw-r--r-- | res/mipmap-mdpi/ic_background.png | bin | 0 -> 3681 bytes | |||
-rw-r--r-- | res/mipmap-mdpi/ic_foreground.png | bin | 0 -> 4648 bytes | |||
-rw-r--r-- | res/mipmap-xhdpi/ic_background.png | bin | 0 -> 9013 bytes | |||
-rw-r--r-- | res/mipmap-xhdpi/ic_foreground.png | bin | 0 -> 15658 bytes | |||
-rw-r--r-- | res/mipmap-xxhdpi/ic_background.png | bin | 0 -> 16042 bytes | |||
-rw-r--r-- | res/mipmap-xxhdpi/ic_foreground.png | bin | 0 -> 32584 bytes | |||
-rw-r--r-- | res/mipmap-xxxhdpi/ic_background.png | bin | 0 -> 24170 bytes | |||
-rw-r--r-- | res/mipmap-xxxhdpi/ic_foreground.png | bin | 0 -> 54234 bytes |
13 files changed, 26 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index e5ac31b0d..578e01745 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -55,13 +55,14 @@ android:fullBackupOnly="true" android:fullBackupContent="@xml/backupscheme" android:hardwareAccelerated="true" - android:icon="@drawable/ic_launcher_home" + android:icon="@mipmap/ic_launcher" android:label="@string/derived_app_name" android:theme="@style/AppTheme" android:largeHeap="@bool/config_largeHeap" android:restoreAnyVersion="true" android:supportsRtl="true" - tools:ignore="GoogleAppIndexingWarning"> + tools:ignore="GoogleAppIndexingWarning" + tools:replace="android:icon"> <!-- Main launcher activity. When extending only change the name, and keep all the diff --git a/quickstep/AndroidManifest.xml b/quickstep/AndroidManifest.xml index cb7485587..a410a55dd 100644 --- a/quickstep/AndroidManifest.xml +++ b/quickstep/AndroidManifest.xml @@ -29,12 +29,13 @@ android:fullBackupOnly="true" android:fullBackupContent="@xml/backupscheme" android:hardwareAccelerated="true" - android:icon="@drawable/ic_launcher_home" + android:icon="@mipmap/ic_launcher" android:label="@string/derived_app_name" android:theme="@style/AppTheme" android:largeHeap="@bool/config_largeHeap" android:restoreAnyVersion="true" - android:supportsRtl="true" > + android:supportsRtl="true" + tools:replace="android:icon"> <service android:name="com.android.quickstep.TouchInteractionService" 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 Binary files differnew file mode 100644 index 000000000..ced957179 --- /dev/null +++ b/res/mipmap-hdpi/ic_background.png diff --git a/res/mipmap-hdpi/ic_foreground.png b/res/mipmap-hdpi/ic_foreground.png Binary files differnew file mode 100644 index 000000000..f5d06f7ae --- /dev/null +++ b/res/mipmap-hdpi/ic_foreground.png diff --git a/res/mipmap-mdpi/ic_background.png b/res/mipmap-mdpi/ic_background.png Binary files differnew file mode 100644 index 000000000..917584c06 --- /dev/null +++ b/res/mipmap-mdpi/ic_background.png diff --git a/res/mipmap-mdpi/ic_foreground.png b/res/mipmap-mdpi/ic_foreground.png Binary files differnew file mode 100644 index 000000000..31ff06305 --- /dev/null +++ b/res/mipmap-mdpi/ic_foreground.png diff --git a/res/mipmap-xhdpi/ic_background.png b/res/mipmap-xhdpi/ic_background.png Binary files differnew file mode 100644 index 000000000..9230c6ef6 --- /dev/null +++ b/res/mipmap-xhdpi/ic_background.png diff --git a/res/mipmap-xhdpi/ic_foreground.png b/res/mipmap-xhdpi/ic_foreground.png Binary files differnew file mode 100644 index 000000000..54e5c68b3 --- /dev/null +++ b/res/mipmap-xhdpi/ic_foreground.png diff --git a/res/mipmap-xxhdpi/ic_background.png b/res/mipmap-xxhdpi/ic_background.png Binary files differnew file mode 100644 index 000000000..6d698ffe4 --- /dev/null +++ b/res/mipmap-xxhdpi/ic_background.png diff --git a/res/mipmap-xxhdpi/ic_foreground.png b/res/mipmap-xxhdpi/ic_foreground.png Binary files differnew file mode 100644 index 000000000..963bf3642 --- /dev/null +++ b/res/mipmap-xxhdpi/ic_foreground.png diff --git a/res/mipmap-xxxhdpi/ic_background.png b/res/mipmap-xxxhdpi/ic_background.png Binary files differnew file mode 100644 index 000000000..30b258ad5 --- /dev/null +++ b/res/mipmap-xxxhdpi/ic_background.png diff --git a/res/mipmap-xxxhdpi/ic_foreground.png b/res/mipmap-xxxhdpi/ic_foreground.png Binary files differnew file mode 100644 index 000000000..a483fe640 --- /dev/null +++ b/res/mipmap-xxxhdpi/ic_foreground.png |