From 2fa8675ce1519b549f2512560581c2c9affd905d Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Jul 2026 06:08:19 +0000 Subject: [PATCH] Make change-wallpaper widget a round icon The widget rendered as a rounded rectangle with an oversized "P" filling the whole cell, looking out of place next to round launcher icons. Switch the container background to a circle and centre the "P" wordmark inside a square viewport with margin so it reads as a proper round app icon. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_018ipN3fqjKpoXtqP4etTa76 --- .../main/res/drawable/ic_widget_paperize_p.xml | 17 +++++++++-------- .../drawable/widget_container_background.xml | 9 ++++----- .../main/res/layout/widget_change_wallpaper.xml | 3 +-- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/app/src/main/res/drawable/ic_widget_paperize_p.xml b/app/src/main/res/drawable/ic_widget_paperize_p.xml index f2e4f3b0..07a17085 100644 --- a/app/src/main/res/drawable/ic_widget_paperize_p.xml +++ b/app/src/main/res/drawable/ic_widget_paperize_p.xml @@ -1,15 +1,16 @@ + in light/dark. The glyph is centred inside a square 280x280 viewport, leaving a + margin on every side so it reads as a proper round app icon (occupying roughly the + centre half) rather than filling the widget cell edge-to-edge. --> + android:width="108dp" + android:height="108dp" + android:viewportWidth="280" + android:viewportHeight="280"> + android:translateX="50.033" + android:translateY="48.799"> diff --git a/app/src/main/res/drawable/widget_container_background.xml b/app/src/main/res/drawable/widget_container_background.xml index 43474020..834f3c44 100644 --- a/app/src/main/res/drawable/widget_container_background.xml +++ b/app/src/main/res/drawable/widget_container_background.xml @@ -1,9 +1,8 @@ - + + android:shape="oval"> - diff --git a/app/src/main/res/layout/widget_change_wallpaper.xml b/app/src/main/res/layout/widget_change_wallpaper.xml index 897a702c..378ff276 100644 --- a/app/src/main/res/layout/widget_change_wallpaper.xml +++ b/app/src/main/res/layout/widget_change_wallpaper.xml @@ -3,8 +3,7 @@ android:id="@+id/widget_root" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@drawable/widget_container_background" - android:padding="18dp"> + android:background="@drawable/widget_container_background">