Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

feat(homewidget): add placeholder for Favorites slideshow widget

Prateek Sunal8b40465a05f0
diff --git a/mobile/android/app/src/main/res/drawable/slideshow_preview.png b/mobile/android/app/src/main/res/drawable/slideshow_preview.png
new file mode 100644
index 0000000000..7b64345786
Binary files /dev/null and b/mobile/android/app/src/main/res/drawable/slideshow_preview.png differ
diff --git a/mobile/android/app/src/main/res/xml/slideshow_widget.xml b/mobile/android/app/src/main/res/xml/slideshow_widget.xml
index 867ce47838..de784327eb 100644
--- a/mobile/android/app/src/main/res/xml/slideshow_widget.xml
+++ b/mobile/android/app/src/main/res/xml/slideshow_widget.xml
@@ -4,6 +4,7 @@
android:minHeight="100dp"
android:updatePeriodMillis="900000"
android:initialLayout="@layout/slideshow_layout"
+ android:previewImage="@drawable/slideshow_preview"
android:resizeMode="horizontal|vertical"
android:widgetCategory="home_screen">
</appwidget-provider>
\ No newline at end of file