use a proper preview image for the date widget
This commit is contained in:
parent
6f37411e31
commit
3c41db11ac
9 changed files with 15 additions and 17 deletions
|
@ -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>
|
||||
|
|
BIN
app/src/main/res/drawable-hdpi/img_widget_date_preview.png
Normal file
BIN
app/src/main/res/drawable-hdpi/img_widget_date_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable-xhdpi/img_widget_date_preview.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/img_widget_date_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/drawable-xxhdpi/img_widget_date_preview.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/img_widget_date_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/img_widget_date_preview.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/img_widget_date_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
|
@ -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" />
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in a new issue