feat(widget): redesign the task widget in M3 Expressive style, add 'At a glance'
Tonal containers per section (grouped by list, or by due bucket when not), an expressive tonal add button that seeds the widget's own list, and per-widget background (solid/tinted/transparent) and theme (follow app/light/dark) controls in the existing config screen. Adds a small 'At a glance' widget: a quick-add button when too small to show anything else, otherwise today's count, overdue count and the next task with a check. The shared Glance plumbing (theme, rounded surface, header, grouped row, rollover alarm, update receiver) moves into floret-kit's new glance module, bumped in via the submodule.
This commit is contained in:
1 parent
7a82f7c3fa
commit
58b34d5603
25 files changed
+748
-474
No files matched your search
@@ -185,6 +185,20 @@
|
||||
android:resource="@xml/appwidget_info_tasks" />
|
||||
</receiver>
|
||||
|
||||
<!-- "At a glance" home-screen widget (Glance): the next task, or a quick-add
|
||||
button when too small to show one. -->
|
||||
<receiver
|
||||
android:name=".widget.GlanceTaskWidgetReceiver"
|
||||
android:label="@string/widget_glance_label"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
||||
</intent-filter>
|
||||
<meta-data
|
||||
android:name="android.appwidget.provider"
|
||||
android:resource="@xml/appwidget_info_glance" />
|
||||
</receiver>
|
||||
|
||||
<!-- Per-widget list picker, launched by the host on placement / reconfigure. -->
|
||||
<activity
|
||||
android:name=".widget.TaskWidgetConfigActivity"
|
||||
|
||||
Reference in new issue
Block a user