From 40fe592a8bc408be1b24f0d0174896e428746e4d Mon Sep 17 00:00:00 2001 From: Thomas Knepper Date: Thu, 17 Apr 2014 23:34:26 +0200 Subject: Preview images for widget --- res/xml/appwidget4x1.xml | 3 ++- res/xml/appwidget4x2.xml | 3 ++- res/xml/appwidget4x3.xml | 3 ++- res/xml/appwidget4x4.xml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) (limited to 'res/xml') diff --git a/res/xml/appwidget4x1.xml b/res/xml/appwidget4x1.xml index 65f47dba..f3ab5d56 100644 --- a/res/xml/appwidget4x1.xml +++ b/res/xml/appwidget4x1.xml @@ -4,4 +4,5 @@ android:minHeight="56dip" android:updatePeriodMillis="0" android:resizeMode="horizontal|vertical" - android:initialLayout="@layout/appwidget4x1"/> \ No newline at end of file + android:previewImage="@drawable/appwidget4x1_preview" + android:initialLayout="@layout/appwidget4x1"/> diff --git a/res/xml/appwidget4x2.xml b/res/xml/appwidget4x2.xml index f40204a7..d687d952 100644 --- a/res/xml/appwidget4x2.xml +++ b/res/xml/appwidget4x2.xml @@ -4,4 +4,5 @@ android:minHeight="110dip" android:updatePeriodMillis="0" android:resizeMode="horizontal|vertical" - android:initialLayout="@layout/appwidget4x2"/> \ No newline at end of file + android:previewImage="@drawable/appwidget4x2_preview" + android:initialLayout="@layout/appwidget4x2"/> diff --git a/res/xml/appwidget4x3.xml b/res/xml/appwidget4x3.xml index 51ae97ed..4d1b4e08 100644 --- a/res/xml/appwidget4x3.xml +++ b/res/xml/appwidget4x3.xml @@ -4,4 +4,5 @@ android:minHeight="180dp" android:updatePeriodMillis="0" android:resizeMode="horizontal|vertical" - android:initialLayout="@layout/appwidget4x3"/> \ No newline at end of file + android:previewImage="@drawable/appwidget4x3_preview" + android:initialLayout="@layout/appwidget4x3"/> diff --git a/res/xml/appwidget4x4.xml b/res/xml/appwidget4x4.xml index ca2d1012..74a8ed0c 100644 --- a/res/xml/appwidget4x4.xml +++ b/res/xml/appwidget4x4.xml @@ -6,4 +6,5 @@ android:resizeMode="horizontal|vertical" android:initialLayout="@layout/appwidget4x4" android:initialKeyguardLayout="@layout/appwidget4x4" - android:widgetCategory="keyguard|home_screen"/> \ No newline at end of file + android:previewImage="@drawable/appwidget4x4_preview" + android:widgetCategory="keyguard|home_screen"/> -- cgit v1.2.3