From 36a0783562dbb897d17b0453f7570b5a28ae8c29 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Fri, 31 Jul 2026 19:59:40 +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 rather than scaled down from it: the numeral is dropped and the bloom's petals are filled instead of stroked, both of which turn to mush at this size. The bloom is sized and placed for legibility over fidelity, and the calendar body's opening is derived from where the bloom would collide with it. 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..069d6fd 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="M1.4,5.4H18.6M18.6,9.43V4.7C18.6,2.99 17.21,1.6 15.5,1.6H4.5C2.79,1.6 1.4,2.99 1.4,4.7V15.7C1.4,17.41 2.79,18.8 4.5,18.8H9.63" /> + + + + + + + + + + diff --git a/design/icon/calendula_notification.svg b/design/icon/calendula_notification.svg new file mode 100644 index 0000000..bae390a --- /dev/null +++ b/design/icon/calendula_notification.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + +