diff options
author | Asher Simonds <dayanhammer@gmail.com> | 2018-02-12 10:20:55 +0100 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-12-08 19:39:11 +0200 |
commit | 88de0c32e2b099fcde5865232f50e23aead1787e (patch) | |
tree | 079dc500cefb632eeaf1f7c793ed806ab627070c | |
parent | 107b5509722418f8208f47b15d93678855eaa4e9 (diff) |
DeskClock: adaptive icon
Change-Id: I772f0a697b48d2d1752aa08d517bb09050f96836
Signed-off-by: Joey <joey@lineageos.org>
17 files changed, 21 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index ae7bdfc6f..dfad0d195 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -48,7 +48,7 @@ android:fullBackupContent="@xml/backup_scheme" android:fullBackupOnly="true" android:appCategory="productivity" - android:icon="@mipmap/ic_launcher_alarmclock" + android:icon="@mipmap/ic_launcher" android:label="@string/app_label" android:requiredForAllUsers="true" android:supportsRtl="true" 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..31795f1de --- /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..6b71d5334 --- /dev/null +++ b/res/mipmap-hdpi/ic_foreground.png diff --git a/res/mipmap-hdpi/ic_launcher_alarmclock.png b/res/mipmap-hdpi/ic_launcher_alarmclock.png Binary files differdeleted file mode 100644 index c47e34d1f..000000000 --- a/res/mipmap-hdpi/ic_launcher_alarmclock.png +++ /dev/null diff --git a/res/mipmap-mdpi/ic_background.png b/res/mipmap-mdpi/ic_background.png Binary files differnew file mode 100644 index 000000000..a1f55b426 --- /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..d876c6442 --- /dev/null +++ b/res/mipmap-mdpi/ic_foreground.png diff --git a/res/mipmap-mdpi/ic_launcher_alarmclock.png b/res/mipmap-mdpi/ic_launcher_alarmclock.png Binary files differdeleted file mode 100644 index a2ff58be0..000000000 --- a/res/mipmap-mdpi/ic_launcher_alarmclock.png +++ /dev/null diff --git a/res/mipmap-xhdpi/ic_background.png b/res/mipmap-xhdpi/ic_background.png Binary files differnew file mode 100644 index 000000000..b8de8b23f --- /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..bfcfdaf82 --- /dev/null +++ b/res/mipmap-xhdpi/ic_foreground.png diff --git a/res/mipmap-xhdpi/ic_launcher_alarmclock.png b/res/mipmap-xhdpi/ic_launcher_alarmclock.png Binary files differdeleted file mode 100644 index a9ffb99a8..000000000 --- a/res/mipmap-xhdpi/ic_launcher_alarmclock.png +++ /dev/null diff --git a/res/mipmap-xxhdpi/ic_background.png b/res/mipmap-xxhdpi/ic_background.png Binary files differnew file mode 100644 index 000000000..9aa19b0a9 --- /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..c45d17153 --- /dev/null +++ b/res/mipmap-xxhdpi/ic_foreground.png diff --git a/res/mipmap-xxhdpi/ic_launcher_alarmclock.png b/res/mipmap-xxhdpi/ic_launcher_alarmclock.png Binary files differdeleted file mode 100644 index cab659983..000000000 --- a/res/mipmap-xxhdpi/ic_launcher_alarmclock.png +++ /dev/null diff --git a/res/mipmap-xxxhdpi/ic_background.png b/res/mipmap-xxxhdpi/ic_background.png Binary files differnew file mode 100644 index 000000000..d3126d915 --- /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..6d29f72d2 --- /dev/null +++ b/res/mipmap-xxxhdpi/ic_foreground.png diff --git a/res/mipmap-xxxhdpi/ic_launcher_alarmclock.png b/res/mipmap-xxxhdpi/ic_launcher_alarmclock.png Binary files differdeleted file mode 100644 index fa3fc051f..000000000 --- a/res/mipmap-xxxhdpi/ic_launcher_alarmclock.png +++ /dev/null |