diff options
author | John Reck <jreck@google.com> | 2011-03-16 14:37:01 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-03-16 14:37:01 -0700 |
commit | 5007d212e8cf1aa863e97519501492d4d2bba839 (patch) | |
tree | 049a7df760fff08bab37bd6fd12235da4eee0093 /res | |
parent | 1c699aabc351e44869c4e6c4e06e6c1ebcc0613a (diff) | |
parent | dbf64e8c1d40b7fc2ccd3c27911dad36e910a393 (diff) | |
download | packages_apps_Browser-5007d212e8cf1aa863e97519501492d4d2bba839.zip packages_apps_Browser-5007d212e8cf1aa863e97519501492d4d2bba839.tar.gz packages_apps_Browser-5007d212e8cf1aa863e97519501492d4d2bba839.tar.bz2 |
Merge "Updated bookmark widget design" into honeycomb-mr1
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-mdpi/bg_bookmarks_widget_holo.9.png | bin | 0 -> 3042 bytes | |||
-rw-r--r-- | res/layout/bookmarkthumbnailwidget.xml | 17 | ||||
-rw-r--r-- | res/layout/bookmarkthumbnailwidget_item.xml | 3 | ||||
-rw-r--r-- | res/values-xlarge-port/dimensions.xml | 4 | ||||
-rw-r--r-- | res/values-xlarge/dimensions.xml | 4 |
5 files changed, 14 insertions, 14 deletions
diff --git a/res/drawable-mdpi/bg_bookmarks_widget_holo.9.png b/res/drawable-mdpi/bg_bookmarks_widget_holo.9.png Binary files differnew file mode 100644 index 0000000..4fd263f --- /dev/null +++ b/res/drawable-mdpi/bg_bookmarks_widget_holo.9.png diff --git a/res/layout/bookmarkthumbnailwidget.xml b/res/layout/bookmarkthumbnailwidget.xml index 12191e8..2ac0db1 100644 --- a/res/layout/bookmarkthumbnailwidget.xml +++ b/res/layout/bookmarkthumbnailwidget.xml @@ -17,25 +17,26 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingTop="4dip" - android:paddingBottom="20dip" - android:paddingLeft="12dip" - android:paddingRight="12dip"> + android:paddingTop="0dip" + android:paddingBottom="23dip" + android:paddingLeft="8dip" + android:paddingRight="8dip"> <GridView android:id="@+id/bookmarks_list" android:layout_width="match_parent" android:layout_height="match_parent" android:numColumns="2" - android:paddingBottom="6dip" - android:paddingRight="3dip" - android:paddingLeft="3dip" + android:paddingTop="6dip" + android:paddingRight="7dip" + android:paddingLeft="7dip" android:stretchMode="columnWidth" android:horizontalSpacing="@dimen/widgetHorizontalSpacing" android:verticalSpacing="@dimen/widgetVerticalSpacing" android:drawSelectorOnTop="true" android:listSelector="@drawable/bookmark_widget_thumb_selector" android:fadingEdgeLength="24dp" - android:scrollbarStyle="outsideOverlay" /> + android:scrollbarStyle="outsideOverlay" + android:background="@drawable/bg_bookmarks_widget_holo" /> <ImageButton android:id="@+id/app_shortcut" diff --git a/res/layout/bookmarkthumbnailwidget_item.xml b/res/layout/bookmarkthumbnailwidget_item.xml index 3247806..8bc1efb 100644 --- a/res/layout/bookmarkthumbnailwidget_item.xml +++ b/res/layout/bookmarkthumbnailwidget_item.xml @@ -53,9 +53,8 @@ android:layout_gravity="center_vertical" android:singleLine="true" android:ellipsize="end" - android:textSize="14sp" + android:textSize="12sp" android:typeface="sans" - android:textStyle="bold" android:textColor="@android:color/white" /> </LinearLayout> </RelativeLayout> diff --git a/res/values-xlarge-port/dimensions.xml b/res/values-xlarge-port/dimensions.xml index f891396..7c0d447 100644 --- a/res/values-xlarge-port/dimensions.xml +++ b/res/values-xlarge-port/dimensions.xml @@ -12,8 +12,8 @@ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <dimen name="widgetThumbnailHeight">84dip</dimen> - <dimen name="widgetHorizontalSpacing">10dip</dimen> - <dimen name="widgetVerticalSpacing">10dip</dimen> + <dimen name="widgetHorizontalSpacing">6dip</dimen> + <dimen name="widgetVerticalSpacing">6dip</dimen> <dimen name="combo_paddingLeftRight">16dip</dimen> <dimen name="combo_horizontalSpacing">8dip</dimen> </resources> diff --git a/res/values-xlarge/dimensions.xml b/res/values-xlarge/dimensions.xml index 613c133..2549818 100644 --- a/res/values-xlarge/dimensions.xml +++ b/res/values-xlarge/dimensions.xml @@ -14,8 +14,8 @@ <dimen name="bookmarkThumbnailWidth">180dip</dimen> <dimen name="bookmarkThumbnailHeight">120dip</dimen> <dimen name="widgetThumbnailHeight">104dip</dimen> - <dimen name="widgetHorizontalSpacing">14dip</dimen> - <dimen name="widgetVerticalSpacing">12dip</dimen> + <dimen name="widgetHorizontalSpacing">6dip</dimen> + <dimen name="widgetVerticalSpacing">6dip</dimen> <dimen name="favicon_padded_size">28dip</dimen> <dimen name="add_bookmark_width">500dip</dimen> <!-- For the most visited page --> |