adding an image for the widget preview

This commit is contained in:
tibbi 2018-12-16 23:55:25 +01:00
parent d99330cf2a
commit d2b75008d3
6 changed files with 2 additions and 1 deletions

View file

@ -244,7 +244,7 @@
<receiver <receiver
android:name=".helpers.MyWidgetProvider" android:name=".helpers.MyWidgetProvider"
android:icon="@mipmap/ic_launcher"> android:icon="@drawable/img_widget_preview">
<intent-filter> <intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter> </intent-filter>

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

View file

@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:configure="com.simplemobiletools.gallery.pro.activities.WidgetConfigureActivity" android:configure="com.simplemobiletools.gallery.pro.activities.WidgetConfigureActivity"
android:initialLayout="@layout/widget" android:initialLayout="@layout/widget"
android:previewImage="@drawable/img_widget_preview"
android:minWidth="@dimen/widget_initial_size" android:minWidth="@dimen/widget_initial_size"
android:minHeight="40dp" android:minHeight="40dp"
android:minResizeWidth="40dp" android:minResizeWidth="40dp"