diff options
| author | John Reck <jreck@google.com> | 2011-08-24 11:13:40 -0700 |
|---|---|---|
| committer | John Reck <jreck@google.com> | 2011-08-24 11:17:33 -0700 |
| commit | 5636ca90acbb79c498c4dd0d94a946abe8c0ff52 (patch) | |
| tree | 914f64e13fb09582ef0726edaa0c37d91313abae /res/xml-sw600dp | |
| parent | 4e772ec089ea2cb1844d7e2fca078dc12d98305c (diff) | |
| download | packages_apps_Browser-5636ca90acbb79c498c4dd0d94a946abe8c0ff52.tar.gz packages_apps_Browser-5636ca90acbb79c498c4dd0d94a946abe8c0ff52.tar.bz2 packages_apps_Browser-5636ca90acbb79c498c4dd0d94a946abe8c0ff52.zip | |
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-sw600dp')
| -rw-r--r-- | res/xml-sw600dp/bookmarkthumbnailwidget_info.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/res/xml-sw600dp/bookmarkthumbnailwidget_info.xml b/res/xml-sw600dp/bookmarkthumbnailwidget_info.xml new file mode 100644 index 000000000..99afda78e --- /dev/null +++ b/res/xml-sw600dp/bookmarkthumbnailwidget_info.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- 3x3 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:minResizeHeight="72dip" + android:minResizeWidth="146dip" + android:updatePeriodMillis="0" + android:previewImage="@drawable/browser_widget_preview" + android:initialLayout="@layout/bookmarkthumbnailwidget" + android:resizeMode="vertical|horizontal" + android:configure="com.android.browser.widget.BookmarkWidgetConfigure"> +</appwidget-provider> |
