#606 fix adaptive icon

This commit is contained in:
Carmelo Messina
2023-12-19 11:17:15 +01:00
parent 2c45b9fbbb
commit 34dc628c34
+7 -4
View File
@@ -9,7 +9,7 @@ License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
chrome/android/java/AndroidManifest.xml | 2 +-
.../res/xml/legal_information_preferences.xml | 12 ------
.../android/java/res/xml/main_preferences.xml | 8 ++--
.../drawable/themed_app_icon.xml | 29 ++++++++-------
.../drawable/themed_app_icon.xml | 32 +++++++++-------
.../mipmap-hdpi/app_icon.png | Bin 2435 -> 5784 bytes
.../mipmap-hdpi/layered_app_icon.png | Bin 1836 -> 7839 bytes
.../layered_app_icon_background.png | Bin 1487 -> 20191 bytes
@@ -47,7 +47,7 @@ License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
.../drawable-xxhdpi/fre_product_logo.png | Bin 7720 -> 60959 bytes
.../drawable-xxxhdpi/fre_product_logo.png | Bin 10740 -> 93273 bytes
tools/grit/grit/grd_reader.py | 35 ++++++++++++++++++
43 files changed, 104 insertions(+), 53 deletions(-)
43 files changed, 107 insertions(+), 53 deletions(-)
diff --git a/build/BUILD.gn b/build/BUILD.gn
--- a/build/BUILD.gn
@@ -144,7 +144,7 @@ diff --git a/chrome/android/java/res/xml/main_preferences.xml b/chrome/android/j
diff --git a/chrome/android/java/res_chromium_base/drawable/themed_app_icon.xml b/chrome/android/java/res_chromium_base/drawable/themed_app_icon.xml
--- a/chrome/android/java/res_chromium_base/drawable/themed_app_icon.xml
+++ b/chrome/android/java/res_chromium_base/drawable/themed_app_icon.xml
@@ -5,25 +5,28 @@ Use of this source code is governed by a BSD-style license that can be
@@ -5,25 +5,31 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
@@ -159,7 +159,10 @@ diff --git a/chrome/android/java/res_chromium_base/drawable/themed_app_icon.xml
- <group>
- <clip-path
- android:pathData="M27,27h36v36h-36z"/>
+ <group android:name="group_1">
+ <group
+ android:name="group_1"
+ android:scaleX="0.1"
+ android:scaleY="0.1">
<path
- android:pathData="M35.7727,42.5589C36.3164,40.5268 37.5153,38.7308 39.1836,37.4494C40.8519,36.168 42.8963,35.4727 44.9999,35.4714H60.2305C58.6975,33.0202 56.5955,30.9753 54.1031,29.5104C51.6106,28.0454 48.8014,27.2038 45.9141,27.0569C43.0267,26.91 40.1466,27.4623 37.5184,28.6667C34.8901,29.8711 32.5914,31.6922 30.8176,33.9752L35.7727,42.5589Z"
- android:fillColor="#000000"/>