From ca9c45cba184cee8f87d12b2c5cad112bc4d08e1 Mon Sep 17 00:00:00 2001 From: Damocles Date: Wed, 22 Apr 2026 22:03:11 +0200 Subject: [PATCH] add catppuccin-styled widget previews for picker --- .../main/res/layout/agenda_widget_preview.xml | 97 +++++++++++++++++++ .../main/res/layout/clock_widget_preview.xml | 70 +++++++++++++ app/src/main/res/xml/agenda_widget_info.xml | 1 + app/src/main/res/xml/clock_widget_info.xml | 1 + 4 files changed, 169 insertions(+) create mode 100644 app/src/main/res/layout/agenda_widget_preview.xml create mode 100644 app/src/main/res/layout/clock_widget_preview.xml diff --git a/app/src/main/res/layout/agenda_widget_preview.xml b/app/src/main/res/layout/agenda_widget_preview.xml new file mode 100644 index 0000000..be4b111 --- /dev/null +++ b/app/src/main/res/layout/agenda_widget_preview.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/clock_widget_preview.xml b/app/src/main/res/layout/clock_widget_preview.xml new file mode 100644 index 0000000..3acd52d --- /dev/null +++ b/app/src/main/res/layout/clock_widget_preview.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/agenda_widget_info.xml b/app/src/main/res/xml/agenda_widget_info.xml index 963cab5..fe2f507 100644 --- a/app/src/main/res/xml/agenda_widget_info.xml +++ b/app/src/main/res/xml/agenda_widget_info.xml @@ -12,4 +12,5 @@ android:targetCellWidth="3" android:targetCellHeight="3" android:updatePeriodMillis="1800000" + android:previewLayout="@layout/agenda_widget_preview" android:widgetCategory="home_screen" /> diff --git a/app/src/main/res/xml/clock_widget_info.xml b/app/src/main/res/xml/clock_widget_info.xml index c29ca70..c9b517b 100644 --- a/app/src/main/res/xml/clock_widget_info.xml +++ b/app/src/main/res/xml/clock_widget_info.xml @@ -12,4 +12,5 @@ android:targetCellWidth="3" android:targetCellHeight="2" android:updatePeriodMillis="60000" + android:previewLayout="@layout/clock_widget_preview" android:widgetCategory="home_screen" />