use a proper preview image for the date widget

This commit is contained in:
tibbi 2020-05-04 23:01:01 +02:00
parent 6f37411e31
commit 3c41db11ac
9 changed files with 15 additions and 17 deletions

View File

@ -199,7 +199,8 @@
<receiver
android:name=".helpers.MyWidgetDateProvider"
android:label="@string/todays_date">
android:icon="@drawable/img_widget_date_preview"
android:label="@string/widget_todays_date">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<searchable
xmlns:android="http://schemas.android.com/apk/res/android"
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
android:hint="@string/search"
android:label="@string/app_name"/>
android:label="@string/app_name" />

View File

@ -6,6 +6,6 @@
android:minHeight="40dp"
android:minResizeWidth="40dp"
android:minResizeHeight="40dp"
android:previewImage="@drawable/img_widget_list_preview"
android:previewImage="@drawable/img_widget_date_preview"
android:resizeMode="horizontal|vertical"
android:updatePeriodMillis="600000" />

View File

@ -1,12 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider
xmlns:android="http://schemas.android.com/apk/res/android"
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:configure="com.simplemobiletools.calendar.pro.activities.WidgetListConfigureActivity"
android:initialLayout="@layout/widget_event_list"
android:minHeight="@dimen/min_widget_height"
android:minResizeHeight="110dp"
android:minResizeWidth="110dp"
android:minWidth="@dimen/min_widget_width"
android:minHeight="@dimen/min_widget_height"
android:minResizeWidth="110dp"
android:minResizeHeight="110dp"
android:previewImage="@drawable/img_widget_list_preview"
android:resizeMode="horizontal|vertical"
android:updatePeriodMillis="600000"/>
android:updatePeriodMillis="600000" />

View File

@ -1,12 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider
xmlns:android="http://schemas.android.com/apk/res/android"
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:configure="com.simplemobiletools.calendar.pro.activities.WidgetMonthlyConfigureActivity"
android:initialLayout="@layout/fragment_month"
android:minHeight="@dimen/min_widget_height"
android:minResizeHeight="110dp"
android:minResizeWidth="110dp"
android:minWidth="@dimen/min_widget_width"
android:minHeight="@dimen/min_widget_height"
android:minResizeWidth="110dp"
android:minResizeHeight="110dp"
android:previewImage="@drawable/img_widget_monthly_preview"
android:resizeMode="horizontal|vertical"
android:updatePeriodMillis="3600000"/>
android:updatePeriodMillis="3600000" />