From b8065e69d0017e6a550eb01cfcde912bc32bcc13 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 30 Jun 2024 23:11:19 +0800 Subject: [PATCH] Improve Android "adaptive icon" * java/res/drawable/emacs_background.xml: * java/res/drawable/emacs_foreground.xml: Transform borders and gradient colors to better align with the original. (cherry picked from commit 64851d101a854e00c68f3e9259d70777e7b26cb2) --- java/res/drawable/emacs_background.xml | 28 +++++++++++++++----------- java/res/drawable/emacs_foreground.xml | 24 +++++++++------------- 2 files changed, 25 insertions(+), 27 deletions(-) diff --git a/java/res/drawable/emacs_background.xml b/java/res/drawable/emacs_background.xml index 448ca48d1cb..c6b6decc3b0 100644 --- a/java/res/drawable/emacs_background.xml +++ b/java/res/drawable/emacs_background.xml @@ -21,22 +21,26 @@ along with GNU Emacs. If not, see . --> xmlns:aapt="http://schemas.android.com/aapt" android:width="108dp" android:height="108dp" - android:viewportWidth="512" - android:viewportHeight="512"> - + android:viewportWidth="108" + android:viewportHeight="108"> + - + - + + diff --git a/java/res/drawable/emacs_foreground.xml b/java/res/drawable/emacs_foreground.xml index d4d71f8e29a..06a03240e28 100644 --- a/java/res/drawable/emacs_foreground.xml +++ b/java/res/drawable/emacs_foreground.xml @@ -21,19 +21,13 @@ along with GNU Emacs. If not, see . --> xmlns:aapt="http://schemas.android.com/aapt" android:width="108dp" android:height="108dp" - android:viewportWidth="512" - android:viewportHeight="512"> - - - + android:viewportWidth="108" + android:viewportHeight="108"> + -- 2.39.2