mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
adding an image for the widget preview
This commit is contained in:
parent
d99330cf2a
commit
d2b75008d3
6 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||||
|
|
BIN
app/src/main/res/drawable-hdpi/img_widget_preview.png
Normal file
BIN
app/src/main/res/drawable-hdpi/img_widget_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
app/src/main/res/drawable-xhdpi/img_widget_preview.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/img_widget_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
BIN
app/src/main/res/drawable-xxhdpi/img_widget_preview.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/img_widget_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/img_widget_preview.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/img_widget_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue