summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTom Hennen <tom.hennen@gmail.com>2015-11-29 12:25:33 -0500
committerTom Hennen <tom.hennen@gmail.com>2015-11-29 12:25:33 -0500
commit304c33369c1caeaf342cc1bfaa6012d7763f5e4b (patch)
treef4cf6caa66b15885ca39d0f0ad4fc104185cbd04 /app
parente9f46bd71d247ec207a4c96dde3e12f1af22ff5f (diff)
downloadAntennaPod-304c33369c1caeaf342cc1bfaa6012d7763f5e4b.zip
add preview image for widget, allow it to be resized to be wider and narrower
Diffstat (limited to 'app')
-rw-r--r--app/src/main/res/xml/player_widget_info.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/res/xml/player_widget_info.xml b/app/src/main/res/xml/player_widget_info.xml
index 4033c3670..1dbfabcd6 100644
--- a/app/src/main/res/xml/player_widget_info.xml
+++ b/app/src/main/res/xml/player_widget_info.xml
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
- android:resizeMode="none"
+ android:resizeMode="horizontal"
android:initialLayout="@layout/player_widget"
- android:updatePeriodMillis="600000"
+ android:updatePeriodMillis="86400000"
+ android:previewImage="@drawable/ic_widget_preview"
android:minHeight="40dp"
- android:minWidth="250dp">
+ android:minWidth="250dp"
+ android:minResizeWidth="40dp">
</appwidget-provider> \ No newline at end of file