mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
use a proper preview image for the date widget
This commit is contained in:
@@ -199,7 +199,8 @@
|
|||||||
|
|
||||||
<receiver
|
<receiver
|
||||||
android:name=".helpers.MyWidgetDateProvider"
|
android:name=".helpers.MyWidgetDateProvider"
|
||||||
android:label="@string/todays_date">
|
android:icon="@drawable/img_widget_date_preview"
|
||||||
|
android:label="@string/widget_todays_date">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
|
||||||
</intent-filter>
|
</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"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<searchable
|
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:hint="@string/search"
|
android:hint="@string/search"
|
||||||
android:label="@string/app_name" />
|
android:label="@string/app_name" />
|
||||||
|
@@ -6,6 +6,6 @@
|
|||||||
android:minHeight="40dp"
|
android:minHeight="40dp"
|
||||||
android:minResizeWidth="40dp"
|
android:minResizeWidth="40dp"
|
||||||
android:minResizeHeight="40dp"
|
android:minResizeHeight="40dp"
|
||||||
android:previewImage="@drawable/img_widget_list_preview"
|
android:previewImage="@drawable/img_widget_date_preview"
|
||||||
android:resizeMode="horizontal|vertical"
|
android:resizeMode="horizontal|vertical"
|
||||||
android:updatePeriodMillis="600000" />
|
android:updatePeriodMillis="600000" />
|
||||||
|
@@ -1,12 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<appwidget-provider
|
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:configure="com.simplemobiletools.calendar.pro.activities.WidgetListConfigureActivity"
|
android:configure="com.simplemobiletools.calendar.pro.activities.WidgetListConfigureActivity"
|
||||||
android:initialLayout="@layout/widget_event_list"
|
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: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:previewImage="@drawable/img_widget_list_preview"
|
||||||
android:resizeMode="horizontal|vertical"
|
android:resizeMode="horizontal|vertical"
|
||||||
android:updatePeriodMillis="600000" />
|
android:updatePeriodMillis="600000" />
|
||||||
|
@@ -1,12 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<appwidget-provider
|
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:configure="com.simplemobiletools.calendar.pro.activities.WidgetMonthlyConfigureActivity"
|
android:configure="com.simplemobiletools.calendar.pro.activities.WidgetMonthlyConfigureActivity"
|
||||||
android:initialLayout="@layout/fragment_month"
|
android:initialLayout="@layout/fragment_month"
|
||||||
android:minHeight="@dimen/min_widget_height"
|
|
||||||
android:minResizeHeight="110dp"
|
|
||||||
android:minResizeWidth="110dp"
|
|
||||||
android:minWidth="@dimen/min_widget_width"
|
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:previewImage="@drawable/img_widget_monthly_preview"
|
||||||
android:resizeMode="horizontal|vertical"
|
android:resizeMode="horizontal|vertical"
|
||||||
android:updatePeriodMillis="3600000" />
|
android:updatePeriodMillis="3600000" />
|
||||||
|
Reference in New Issue
Block a user