Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions app/src/main/res/drawable/ic_widget_paperize_p.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<!-- Paperize "P" wordmark (outline of Liberation Sans Bold "P").
Drawn white and tinted by the layout so it can follow the on-primary color role
in light/dark. Viewport is the glyph's bounding box so it fills the widget cell,
centred via the group translate. -->
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. -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="113dp"
android:height="138dp"
android:viewportWidth="113.184"
android:viewportHeight="137.598">
android:width="108dp"
android:height="108dp"
android:viewportWidth="280"
android:viewportHeight="280">
<group
android:translateX="-33.3789"
android:translateY="-22.4023">
android:translateX="50.033"
android:translateY="48.799">
<path
android:fillColor="#FFFFFFFF"
android:pathData="m 146.5625,65.957031 q 0,13.28125 -6.05469,23.730469 -6.05469,10.44922 -17.38281,16.21094 -11.23047,5.66406 -26.757813,5.66406 H 62.1875 V 160 H 33.378906 V 22.402344 h 61.816406 q 24.707028,0 37.988278,11.425781 13.37891,11.328125 13.37891,32.128906 z m -29.00391,0.488281 q 0,-21.679687 -25.585934,-21.679687 H 62.1875 v 44.628906 h 30.566406 q 11.914064,0 18.359374,-5.859375 6.44531,-5.957031 6.44531,-17.089844 z" />
Expand Down
9 changes: 4 additions & 5 deletions app/src/main/res/drawable/widget_container_background.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Material 3 filled widget container. Corner radius follows the launcher's widget
radius (system_app_widget_background_radius, API 31+); fill is the primary color
role, swapped for dark mode via values-night. -->
<!-- Material 3 filled widget container. Circular so the widget reads as a round app
icon (matching launcher icons); fill is the primary color role, swapped for dark
mode via values-night. -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
android:shape="oval">
<solid android:color="@color/widget_container" />
<corners android:radius="@android:dimen/system_app_widget_background_radius" />
</shape>
3 changes: 1 addition & 2 deletions app/src/main/res/layout/widget_change_wallpaper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">

<ImageView
android:id="@+id/widget_icon"
Expand Down