diff options
author | Asher Simonds <dayanhammer@gmail.com> | 2018-02-12 10:32:11 +0100 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-09-15 01:37:54 +0300 |
commit | 723c2e4bd5b45588c52d5d2642400301c58652af (patch) | |
tree | 05da33655a0a638ce5cdb58d78f6ea0f6a90293d | |
parent | d0d42d9ce194c4c8dc2eb2f381e95532f2924593 (diff) | |
download | android_packages_apps_Messaging-723c2e4bd5b45588c52d5d2642400301c58652af.tar.gz android_packages_apps_Messaging-723c2e4bd5b45588c52d5d2642400301c58652af.tar.bz2 android_packages_apps_Messaging-723c2e4bd5b45588c52d5d2642400301c58652af.zip |
Messaging: adaptive icon
Change-Id: I6d619acfe1682117ae6a9cc91ff1fab5638d352b
Signed-off-by: Joey <joey@lineageos.org>
18 files changed, 22 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 1757415..f9ba40a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -59,7 +59,7 @@ android:name="com.android.messaging.BugleApplication" android:allowBackup="false" android:appCategory="social" - android:icon="@drawable/ic_launcher" + android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/BugleTheme" android:supportsRtl="true"> diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 5e4e62f..0000000 --- a/res/drawable-hdpi/ic_launcher.png +++ /dev/null diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png Binary files differdeleted file mode 100644 index ef6a3c5..0000000 --- a/res/drawable-mdpi/ic_launcher.png +++ /dev/null diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index ad1acb4..0000000 --- a/res/drawable-xhdpi/ic_launcher.png +++ /dev/null diff --git a/res/drawable-xxhdpi/ic_launcher.png b/res/drawable-xxhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index de56e98..0000000 --- a/res/drawable-xxhdpi/ic_launcher.png +++ /dev/null diff --git a/res/drawable-xxxhdpi/ic_launcher.png b/res/drawable-xxxhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 9ac88b4..0000000 --- a/res/drawable-xxxhdpi/ic_launcher.png +++ /dev/null diff --git a/res/layout/widget_conversation.xml b/res/layout/widget_conversation.xml index a9cda98..eaf1dcf 100644 --- a/res/layout/widget_conversation.xml +++ b/res/layout/widget_conversation.xml @@ -39,7 +39,7 @@ android:freezesText="true" /> <ImageView android:id="@+id/launcher_icon" - android:src="@drawable/ic_launcher" + android:src="@mipmap/ic_launcher" android:layout_height="wrap_content" android:layout_width="0dip" android:layout_weight = "1" diff --git a/res/mipmap-anydpi/ic_launcher.xml b/res/mipmap-anydpi/ic_launcher.xml new file mode 100644 index 0000000..d8649ba --- /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 0000000..b4a472c --- /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 0000000..d956bf2 --- /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 0000000..e105313 --- /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 0000000..df4dc02 --- /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 0000000..169e91c --- /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 0000000..b5a98c5 --- /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 0000000..68187be --- /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 0000000..1a1ca17 --- /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 0000000..4479b32 --- /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 0000000..e896c28 --- /dev/null +++ b/res/mipmap-xxxhdpi/ic_foreground.png |