feat(widgets): stopwatch style picker and widget-picker previews
The stopwatch widget gets a per-instance style, chosen in a new StopwatchConfigActivity on the APPWIDGET_CONFIGURE contract. Every widget receiver now carries its own label, with a separate description, and the widget picker shows sample-value preview layouts instead of a bare name.
This commit is contained in:
@@ -358,13 +358,20 @@
|
||||
<string name="selfcheck_next_alarm_problem">Doesn\'t match what Clockula scheduled — open the app to re-check</string>
|
||||
|
||||
<!-- M10: widgets -->
|
||||
<string name="widget_next_alarm_description">Next alarm</string>
|
||||
<!-- Sample values for the widget picker's previews (`layout/widget_preview_*.xml`). -->
|
||||
<string name="widget_preview_alarm_time" translatable="false">7:00</string>
|
||||
<string name="widget_preview_timer_time" translatable="false">04:59</string>
|
||||
<string name="widget_preview_stopwatch_time" translatable="false">01:23</string>
|
||||
<string name="widget_preview_quick_timer_time" translatable="false">05:00</string>
|
||||
<string name="widget_next_alarm_label">Next alarm</string>
|
||||
<string name="widget_next_alarm_empty">No alarms set</string>
|
||||
<string name="widget_next_alarm_today">Today</string>
|
||||
<string name="widget_timer_description">Timer</string>
|
||||
<string name="widget_timer_label">Timer</string>
|
||||
<string name="widget_timer_description">Your running timers</string>
|
||||
<string name="widget_timer_new">New timer</string>
|
||||
<string name="widget_timer_expired">Done</string>
|
||||
<string name="widget_clock_description">Clock</string>
|
||||
<string name="widget_clock_label">Digital clock</string>
|
||||
<string name="widget_clock_description">With date and world clocks</string>
|
||||
|
||||
<!-- M11: digital clock widget faces + per-instance config -->
|
||||
<string name="widget_config_title">Digital clock</string>
|
||||
@@ -379,7 +386,7 @@
|
||||
<string name="widget_config_show_world_clocks_hint">Up to three cities from your World clock tab</string>
|
||||
|
||||
<!-- M11: analog clock widget -->
|
||||
<string name="widget_analog_description">Analog clock</string>
|
||||
<string name="widget_analog_label">Analog clock</string>
|
||||
<string name="widget_analog_config_title">Analog clock</string>
|
||||
<string name="analog_style_round">Round</string>
|
||||
<string name="analog_style_numeral">Numeral</string>
|
||||
@@ -392,11 +399,15 @@
|
||||
<string name="analog_style_scallop">Scallop</string>
|
||||
|
||||
<!-- M11: stopwatch widget -->
|
||||
<string name="widget_stopwatch_description">Stopwatch</string>
|
||||
<string name="widget_stopwatch_label">Stopwatch</string>
|
||||
<string name="widget_stopwatch_laps">Laps: %1$d</string>
|
||||
<string name="widget_stopwatch_config_title">Stopwatch</string>
|
||||
<string name="stopwatch_style_card">Card</string>
|
||||
<string name="stopwatch_style_circle">Circle</string>
|
||||
|
||||
<!-- M11: quick-timer widget -->
|
||||
<string name="widget_quick_timer_description">Quick timer</string>
|
||||
<string name="widget_quick_timer_label">Quick timer</string>
|
||||
<string name="widget_quick_timer_description">Starts a timer with one tap</string>
|
||||
<string name="widget_quick_timer_config_title">Quick timer</string>
|
||||
<string name="widget_quick_timer_start">Start %1$s</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user