diff options
author | Leon Scroggins <scroggo@google.com> | 2009-07-28 16:33:53 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-07-28 16:40:31 -0400 |
commit | 391bae011e6e2f66f11c0e633a77f58e0fde9f0b (patch) | |
tree | 2b6142a8dca5e9ae801782b16d2faccaaddd5f40 /res/layout | |
parent | d10cd0d9e7f81843508a3aaf67dbdf7a0870c9d1 (diff) | |
download | packages_apps_browser-391bae011e6e2f66f11c0e633a77f58e0fde9f0b.zip packages_apps_browser-391bae011e6e2f66f11c0e633a77f58e0fde9f0b.tar.gz packages_apps_browser-391bae011e6e2f66f11c0e633a77f58e0fde9f0b.tar.bz2 |
Make the favicons look better on the bookmark page.
In the visual bookmarks, set the padding for the favicon, as well
as using the favicon background used in other places, and set
the scaletype to fitCenter. This makes large favicons like
amazon.com's fit, without stretching others.
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/bookmark_thumbnail.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/res/layout/bookmark_thumbnail.xml b/res/layout/bookmark_thumbnail.xml index 2f8a09d..c1e0cd2 100644 --- a/res/layout/bookmark_thumbnail.xml +++ b/res/layout/bookmark_thumbnail.xml @@ -28,11 +28,12 @@ /> <ImageView android:id="@+id/fav" - android:scaleType="center" + android:scaleType="fitCenter" android:layout_width="20dip" android:layout_height="20dip" + android:padding="2dip" android:layout_alignBottom="@+id/thumb" - android:background="@color/white" + android:background="@drawable/fav_icn_background" /> <LinearLayout android:id="@+id/holder" android:layout_height="wrap_content" |