fix(notification): give reminders Calendula's own status-bar mark (#83)
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,12 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Monochrome status-bar mark: Material "event" calendar glyph. -->
|
||||
<!--
|
||||
Status-bar mark for reminders (issue #83). Calendula's own mark, not the
|
||||
stock Material "event" glyph it replaces: the status bar draws a small icon
|
||||
from its alpha channel alone, so the silhouette is the only thing that can
|
||||
tell Calendula apart from the system's date surfaces and every other
|
||||
calendar app.
|
||||
|
||||
Redrawn for 24dp from design/icon/calendula_notification.svg rather than
|
||||
scaled down from the launcher mark — the numeral "1" is dropped and the
|
||||
bloom's petals are filled instead of stroked, both of which turn to mush at
|
||||
this size. Stays opaque white on transparent; any colour here is discarded.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
android:viewportHeight="24">
|
||||
<!-- Calendar body, left open at the bottom-right where the bloom sits -->
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M19,3h-1V1h-2v2H8V1H6v2H5C3.89,3 3.01,3.9 3.01,5L3,19c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2V5C21,3.9 20.1,3 19,3zM19,19H5V8h14V19zM7,10h5v5H7V10z" />
|
||||
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" />
|
||||
<!-- Calendula bloom: eight filled petals around a filled centre -->
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M19.2,18.3Q21,19.75 22.8,18.3Q21,16.85 19.2,18.3Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M18.97,18.87Q19.21,21.16 21.51,21.41Q21.26,19.11 18.97,18.87Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M18.4,19.1Q16.95,20.9 18.4,22.7Q19.85,20.9 18.4,19.1Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M17.83,18.87Q15.54,19.11 15.29,21.41Q17.59,21.16 17.83,18.87Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M17.6,18.3Q15.8,16.85 14,18.3Q15.8,19.75 17.6,18.3Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M17.83,17.73Q17.59,15.44 15.29,15.19Q15.54,17.49 17.83,17.73Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M18.4,17.5Q19.85,15.7 18.4,13.9Q16.95,15.7 18.4,17.5Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M18.97,17.73Q21.26,17.49 21.51,15.19Q19.21,15.44 18.97,17.73Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M18.4,16.75A1.55,1.55 0 1,1 18.4,19.85A1.55,1.55 0 1,1 18.4,16.75Z" />
|
||||
</vector>
|
||||
|
||||
12
design/icon/calendula_notification.svg
Normal file
12
design/icon/calendula_notification.svg
Normal file
@@ -0,0 +1,12 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="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" stroke="black" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M19.2 18.3Q21 19.75 22.8 18.3Q21 16.85 19.2 18.3Z" fill="black"/>
|
||||
<path d="M18.97 18.87Q19.21 21.16 21.51 21.41Q21.26 19.11 18.97 18.87Z" fill="black"/>
|
||||
<path d="M18.4 19.1Q16.95 20.9 18.4 22.7Q19.85 20.9 18.4 19.1Z" fill="black"/>
|
||||
<path d="M17.83 18.87Q15.54 19.11 15.29 21.41Q17.59 21.16 17.83 18.87Z" fill="black"/>
|
||||
<path d="M17.6 18.3Q15.8 16.85 14 18.3Q15.8 19.75 17.6 18.3Z" fill="black"/>
|
||||
<path d="M17.83 17.73Q17.59 15.44 15.29 15.19Q15.54 17.49 17.83 17.73Z" fill="black"/>
|
||||
<path d="M18.4 17.5Q19.85 15.7 18.4 13.9Q16.95 15.7 18.4 17.5Z" fill="black"/>
|
||||
<path d="M18.97 17.73Q21.26 17.49 21.51 15.19Q19.21 15.44 18.97 17.73Z" fill="black"/>
|
||||
<circle cx="18.4" cy="18.3" r="1.55" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
Reference in New Issue
Block a user