[Android] Widget : Add a preview image
Alexandre Perraud
git at videolan.org
Mon Jun 1 12:08:36 CEST 2015
vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Mon Jun 1 12:07:38 2015 +0200| [e097d1d5910dd6aa1003cf822f43206b72d05dec] | committer: Alexandre Perraud
Widget : Add a preview image
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=e097d1d5910dd6aa1003cf822f43206b72d05dec
---
vlc-android/res/drawable/widget_preview_01.png | Bin 0 -> 34559 bytes
vlc-android/res/xml/vlcwidget.xml | 3 ++-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/res/drawable/widget_preview_01.png b/vlc-android/res/drawable/widget_preview_01.png
new file mode 100644
index 0000000..dfbd338
Binary files /dev/null and b/vlc-android/res/drawable/widget_preview_01.png differ
diff --git a/vlc-android/res/xml/vlcwidget.xml b/vlc-android/res/xml/vlcwidget.xml
index 0e9717a..2637c33 100644
--- a/vlc-android/res/xml/vlcwidget.xml
+++ b/vlc-android/res/xml/vlcwidget.xml
@@ -2,5 +2,6 @@
android:minWidth="294dp"
android:minHeight="40dp"
android:updatePeriodMillis="86400000"
- android:initialLayout="@layout/vlcwidget">
+ android:initialLayout="@layout/vlcwidget"
+ android:previewImage="@drawable/widget_preview_01">
</appwidget-provider>
\ No newline at end of file
More information about the Android
mailing list