diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 883b24d4c..b00e56d71 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -244,7 +244,7 @@ + android:icon="@drawable/img_widget_preview"> diff --git a/app/src/main/res/drawable-hdpi/img_widget_preview.png b/app/src/main/res/drawable-hdpi/img_widget_preview.png new file mode 100644 index 000000000..e3d372985 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/img_widget_preview.png differ diff --git a/app/src/main/res/drawable-xhdpi/img_widget_preview.png b/app/src/main/res/drawable-xhdpi/img_widget_preview.png new file mode 100644 index 000000000..65a473f0d Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/img_widget_preview.png differ diff --git a/app/src/main/res/drawable-xxhdpi/img_widget_preview.png b/app/src/main/res/drawable-xxhdpi/img_widget_preview.png new file mode 100644 index 000000000..17b41f546 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/img_widget_preview.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/img_widget_preview.png b/app/src/main/res/drawable-xxxhdpi/img_widget_preview.png new file mode 100644 index 000000000..46bbf99e7 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/img_widget_preview.png differ diff --git a/app/src/main/res/xml/widget_info.xml b/app/src/main/res/xml/widget_info.xml index 801061d71..3f70a3268 100644 --- a/app/src/main/res/xml/widget_info.xml +++ b/app/src/main/res/xml/widget_info.xml @@ -3,6 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:configure="com.simplemobiletools.gallery.pro.activities.WidgetConfigureActivity" android:initialLayout="@layout/widget" + android:previewImage="@drawable/img_widget_preview" android:minWidth="@dimen/widget_initial_size" android:minHeight="40dp" android:minResizeWidth="40dp"