From b804d914021b79bbc755801a5dc057cce49d4a58 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Fri, 31 Jul 2026 13:20:42 +0200 Subject: [PATCH] fix(notification): give reminders Calendula's own status-bar mark (#83) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The status bar draws a notification's small icon from its alpha channel alone, so the silhouette is all that distinguishes an app there — and ours was the stock Material "event" glyph, the same shape the system's date surfaces and every other calendar app use. Redrawn at 24dp from the launcher mark: calendar body plus the bloom badge, numeral dropped and the petals filled rather than stroked, both of which turn to mush at this size. The shade needs no change — since Android 12 its header shows the launcher icon, which is already unmistakable. --- CHANGELOG.md | 8 +++ app/src/main/res/drawable/ic_notification.xml | 52 +++++++++++++++++-- design/icon/calendula_notification.svg | 12 +++++ 3 files changed, 67 insertions(+), 5 deletions(-) create mode 100644 design/icon/calendula_notification.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index a7645c7..a2e091a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- A reminder in the status bar is now Calendula's own mark — the calendar with + the bloom — instead of the generic calendar glyph it shared with the system's + date surfaces and every other calendar app. The status bar draws that icon as + a plain silhouette, so its shape is the only thing that could tell them apart + ([#83]). + ## [2.17.1] — 2026-07-30 ### Added @@ -1249,6 +1256,7 @@ automatically, with zero telemetry and no internet permission. [#79]: https://codeberg.org/jlmakiola/calendula/issues/79 [#81]: https://codeberg.org/jlmakiola/calendula/issues/81 [#82]: https://codeberg.org/jlmakiola/calendula/issues/82 +[#83]: https://codeberg.org/jlmakiola/calendula/issues/83 [#87]: https://codeberg.org/jlmakiola/calendula/issues/87 [#89]: https://codeberg.org/jlmakiola/calendula/issues/89 [#103]: https://codeberg.org/jlmakiola/calendula/issues/103 diff --git a/app/src/main/res/drawable/ic_notification.xml b/app/src/main/res/drawable/ic_notification.xml index 34e1c4d..2591a22 100644 --- a/app/src/main/res/drawable/ic_notification.xml +++ b/app/src/main/res/drawable/ic_notification.xml @@ -1,12 +1,54 @@ - + + android:viewportHeight="24"> + + android:strokeColor="#FFFFFFFF" + android:strokeWidth="1.9" + android:strokeLineCap="round" + android:strokeLineJoin="round" + android:pathData="M2.3,6.3H18.9M18.9,13.8V5.6C18.9,3.89 17.51,2.5 15.8,2.5H5.4C3.69,2.5 2.3,3.89 2.3,5.6V16C2.3,17.71 3.69,19.1 5.4,19.1H14.6" /> + + + + + + + + + + diff --git a/design/icon/calendula_notification.svg b/design/icon/calendula_notification.svg new file mode 100644 index 0000000..8078d39 --- /dev/null +++ b/design/icon/calendula_notification.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + +