diff options
author | John Reck <jreck@google.com> | 2011-01-11 15:36:01 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-01-12 16:35:11 -0800 |
commit | 1537b774a62042a8b86100e1e6b0988bed70c385 (patch) | |
tree | b1ec5561d8fa4f679699fff9b80bba2731e35285 /res/layout/bookmarkthumbnailwidget.xml | |
parent | dcc1cd118d4db2b47ecd93c00608441375ced6b5 (diff) | |
download | android_packages_apps_Gello-1537b774a62042a8b86100e1e6b0988bed70c385.tar.gz android_packages_apps_Gello-1537b774a62042a8b86100e1e6b0988bed70c385.tar.bz2 android_packages_apps_Gello-1537b774a62042a8b86100e1e6b0988bed70c385.zip |
Replace old list widget with new thumbnail widget
Bug: 3336562
Change-Id: Ic612b5309f185658f4515bbc90cc44d8b9ccf1e0
Diffstat (limited to 'res/layout/bookmarkthumbnailwidget.xml')
-rw-r--r-- | res/layout/bookmarkthumbnailwidget.xml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/res/layout/bookmarkthumbnailwidget.xml b/res/layout/bookmarkthumbnailwidget.xml new file mode 100644 index 00000000..581db5ce --- /dev/null +++ b/res/layout/bookmarkthumbnailwidget.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> +<FrameLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingTop="4dip" + android:paddingBottom="22dip" + android:paddingLeft="13dip" + android:paddingRight="13dip"> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="0dip" + android:background="@drawable/widget_background"> + <ImageView android:background="@drawable/list_div_top_btm_bookmark_widget_holo" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:layout_marginTop="2dip" + android:layout_marginLeft="1dip" + android:layout_marginRight="1dip" /> + <GridView + android:id="@+id/bookmarks_list" + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" + android:layout_marginLeft="5dip" + android:layout_marginRight="5dip" + android:numColumns="2" + android:padding="1dip" + android:stretchMode="columnWidth" + android:horizontalSpacing="@dimen/widgetHorizontalSpacing" + android:verticalSpacing="@dimen/widgetVerticalSpacing" + android:drawSelectorOnTop="true" + android:listSelector="@drawable/bookmark_widget_thumb_selector" /> + <ImageView android:background="@drawable/list_div_top_btm_bookmark_widget_holo" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:layout_marginBottom="3dip" + android:layout_marginLeft="1dip" + android:layout_marginRight="1dip" /> + </LinearLayout> +</FrameLayout> |