Modern Apps git

← Modern-Apps.git

messages: fix icon

Commit
65d4bc598e25573d879ffc804b32cef78e380296
Author
Vayun Mathur <[email protected]>
When
2026-05-30 19:58 UTC (6 months ago)
Parents
5232f5f

Diff

messages/src/main/ic_launcher-playstore.png
diff --git a/messages/src/main/ic_launcher-playstore.png b/messages/src/main/ic_launcher-playstore.pngnew file mode 100644index 0000000000..66251980d8Binary files /dev/null and b/messages/src/main/ic_launcher-playstore.png differ
messages/src/main/res/drawable/ic_launcher_foreground.xml
diff --git a/messages/src/main/res/drawable/ic_launcher_foreground.xml b/messages/src/main/res/drawable/ic_launcher_foreground.xmlindex 062082bbe3..7314be0a36 100644--- a/messages/src/main/res/drawable/ic_launcher_foreground.xml+++ b/messages/src/main/res/drawable/ic_launcher_foreground.xml@@ -1,11 +1,30 @@+<!--+  ~ Copyright (C) 2026 The Android Open Source 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.+  --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="108dp"     android:height="108dp"-    android:viewportWidth="108"-    android:viewportHeight="108">-    <!-- Simple chat-bubble glyph for the launcher icon. The-         adaptive-icon background fills behind in ic_launcher_background. -->+    android:viewportWidth="960"+    android:viewportHeight="960"+    android:tint="#000000">+  <group android:scaleX="0.58"+      android:scaleY="0.58"+      android:translateX="201.6"+      android:translateY="201.6">     <path-        android:fillColor="#FFFFFF"-        android:pathData="M54,30c-12,0 -22,8 -22,18 0,5 3,9 7,12l-3,9 11,-5c2,1 4,1 7,1 12,0 22,-8 22,-17 0,-10 -10,-18 -22,-18zM45,46a3,3 0 1 1 0,1zM54,46a3,3 0 1 1 0,1zM63,46a3,3 0 1 1 0,1z" />+        android:fillColor="@android:color/white"+        android:pathData="M348.5,428.5Q360,417 360,400Q360,383 348.5,371.5Q337,360 320,360Q303,360 291.5,371.5Q280,383 280,400Q280,417 291.5,428.5Q303,440 320,440Q337,440 348.5,428.5ZM508.5,428.5Q520,417 520,400Q520,383 508.5,371.5Q497,360 480,360Q463,360 451.5,371.5Q440,383 440,400Q440,417 451.5,428.5Q463,440 480,440Q497,440 508.5,428.5ZM668.5,428.5Q680,417 680,400Q680,383 668.5,371.5Q657,360 640,360Q623,360 611.5,371.5Q600,383 600,400Q600,417 611.5,428.5Q623,440 640,440Q657,440 668.5,428.5ZM80,880L80,160Q80,127 103.5,103.5Q127,80 160,80L800,80Q833,80 856.5,103.5Q880,127 880,160L880,640Q880,673 856.5,696.5Q833,720 800,720L240,720L80,880ZM206,640L800,640Q800,640 800,640Q800,640 800,640L800,160Q800,160 800,160Q800,160 800,160L160,160Q160,160 160,160Q160,160 160,160L160,685L206,640ZM160,640L160,640L160,160Q160,160 160,160Q160,160 160,160L160,160Q160,160 160,160Q160,160 160,160L160,640Q160,640 160,640Q160,640 160,640Z"/>+  </group> </vector>
messages/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
diff --git a/messages/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/messages/src/main/res/mipmap-anydpi-v26/ic_launcher.xmlnew file mode 100644index 0000000000..1a599ed99d--- /dev/null+++ b/messages/src/main/res/mipmap-anydpi-v26/ic_launcher.xml@@ -0,0 +1,21 @@+<?xml version="1.0" encoding="utf-8"?>+<!--+  ~ Copyright (C) 2026 The Android Open Source 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="@color/ic_launcher_background"/>+    <foreground android:drawable="@drawable/ic_launcher_foreground"/>+    <monochrome android:drawable="@drawable/ic_launcher_foreground"/>+</adaptive-icon>\ No newline at end of file
messages/src/main/res/mipmap-anydpi/ic_launcher.xml
diff --git a/messages/src/main/res/mipmap-anydpi/ic_launcher.xml b/messages/src/main/res/mipmap-anydpi/ic_launcher.xmldeleted file mode 100644index 5c84730caa..0000000000--- a/messages/src/main/res/mipmap-anydpi/ic_launcher.xml+++ /dev/null@@ -1,6 +0,0 @@-<?xml version="1.0" encoding="utf-8"?>-<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">-    <background android:drawable="@color/ic_launcher_background" />-    <foreground android:drawable="@drawable/ic_launcher_foreground" />-    <monochrome android:drawable="@drawable/ic_launcher_foreground" />-</adaptive-icon>
messages/src/main/res/values/ic_launcher_background.xml
diff --git a/messages/src/main/res/values/ic_launcher_background.xml b/messages/src/main/res/values/ic_launcher_background.xmldeleted file mode 100644index 1c34651e74..0000000000--- a/messages/src/main/res/values/ic_launcher_background.xml+++ /dev/null@@ -1,4 +0,0 @@-<?xml version="1.0" encoding="utf-8"?>-<resources>-    <color name="ic_launcher_background">#0B57D0</color>-</resources>