summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-08-24 11:13:40 -0700
committerJohn Reck <jreck@google.com>2011-08-24 11:17:33 -0700
commit5636ca90acbb79c498c4dd0d94a946abe8c0ff52 (patch)
tree914f64e13fb09582ef0726edaa0c37d91313abae /res/xml
parent4e772ec089ea2cb1844d7e2fca078dc12d98305c (diff)
downloadpackages_apps_Browser-5636ca90acbb79c498c4dd0d94a946abe8c0ff52.zip
packages_apps_Browser-5636ca90acbb79c498c4dd0d94a946abe8c0ff52.tar.gz
packages_apps_Browser-5636ca90acbb79c498c4dd0d94a946abe8c0ff52.tar.bz2
Widget resize support
Bug: 5058626 Add support for the new minimum resize API Support resizing horizontally Change default size for phone Change-Id: I1e62ad0f9847da8f0b24c5d59667f0586dbcf232
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/bookmarkthumbnailwidget_info.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/res/xml/bookmarkthumbnailwidget_info.xml b/res/xml/bookmarkthumbnailwidget_info.xml
index e98e3f7..bf2e612 100644
--- a/res/xml/bookmarkthumbnailwidget_info.xml
+++ b/res/xml/bookmarkthumbnailwidget_info.xml
@@ -14,14 +14,16 @@
limitations under the License.
-->
-<!-- 3x3 Widget displaying the user's bookmarks as a list with favicons. -->
+<!-- 3x2 Widget displaying the user's bookmarks as a list with favicons. -->
<appwidget-provider
xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="219dip"
- android:minHeight="219dip"
+ android:minHeight="146dip"
+ android:minResizeHeight="72dip"
+ android:minResizeWidth="146dip"
android:updatePeriodMillis="0"
android:previewImage="@drawable/browser_widget_preview"
android:initialLayout="@layout/bookmarkthumbnailwidget"
- android:resizeMode="vertical"
+ android:resizeMode="vertical|horizontal"
android:configure="com.android.browser.widget.BookmarkWidgetConfigure">
</appwidget-provider>