diff --git a/android/src/main/res/layout/layout_weather_info_preview.xml b/android/src/main/res/layout/layout_weather_info_preview.xml new file mode 100644 index 0000000000000000000000000000000000000000..16a74beb9ace34e44f77d9cbc9d8f9139f19e153 --- /dev/null +++ b/android/src/main/res/layout/layout_weather_info_preview.xml @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/src/main/res/xml/weather_appwidget_info.xml b/android/src/main/res/xml/weather_appwidget_info.xml index c3d3e607505559fa49f4a3eafef9fa27e1c6e1b3..014ee380700f7c0d7069414c09de5ea0b8b53623 100644 --- a/android/src/main/res/xml/weather_appwidget_info.xml +++ b/android/src/main/res/xml/weather_appwidget_info.xml @@ -3,11 +3,12 @@ xmlns:tools="http://schemas.android.com/tools" android:description="@string/weather" android:initialLayout="@layout/layout_weather_info" - android:minWidth="280dp" - android:minHeight="70dp" + android:minWidth="270dp" + android:minHeight="60dp" android:resizeMode="none" android:targetCellWidth="4" android:targetCellHeight="3" android:updatePeriodMillis="0" + android:previewLayout="@layout/layout_weather_info_preview" android:widgetCategory="home_screen" tools:ignore="UnusedAttribute" />