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.
15 lines
598 B
XML
15 lines
598 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:minWidth="110dp"
|
|
android:minHeight="60dp"
|
|
android:minResizeWidth="110dp"
|
|
android:minResizeHeight="40dp"
|
|
android:targetCellWidth="2"
|
|
android:targetCellHeight="2"
|
|
android:updatePeriodMillis="0"
|
|
android:resizeMode="horizontal|vertical"
|
|
android:widgetCategory="home_screen"
|
|
android:previewImage="@mipmap/ic_launcher"
|
|
android:previewLayout="@layout/widget_preview_timer"
|
|
android:description="@string/widget_timer_description" />
|