summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2010-08-19 00:12:27 -0500
committerJeff Hamilton <jham@android.com>2010-09-02 13:33:19 -0500
commitf3026374dccf7b491152946c5d0e42daec08d899 (patch)
treee3fbca3545f497490c5ecaf478b53c7da6bbd220 /res/layout
parent46ea162d40380b643e5e04bf79d7107b72a39080 (diff)
downloadpackages_apps_Browser-f3026374dccf7b491152946c5d0e42daec08d899.zip
packages_apps_Browser-f3026374dccf7b491152946c5d0e42daec08d899.tar.gz
packages_apps_Browser-f3026374dccf7b491152946c5d0e42daec08d899.tar.bz2
Make the bookmark thumbnails larger.
Change-Id: I33e72e55e0cad9c73b3c50cb30277ed22eb511cb
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/bookmark_thumbnail.xml33
1 files changed, 3 insertions, 30 deletions
diff --git a/res/layout/bookmark_thumbnail.xml b/res/layout/bookmark_thumbnail.xml
index 363e632..91d8db7 100644
--- a/res/layout/bookmark_thumbnail.xml
+++ b/res/layout/bookmark_thumbnail.xml
@@ -23,39 +23,12 @@
<ImageView android:id="@+id/thumb"
android:src="@drawable/browser_thumbnail"
- android:scaleType="center"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
+ android:scaleType="centerCrop"
+ android:layout_height="@dimen/bookmarkThumbnailHeight"
+ android:layout_width="@dimen/bookmarkThumbnailWidth"
android:layout_gravity="center"
/>
- <!-- FIXME: Want to have a gradient over the thumb -->
-
- <!-- This holds the star for addbookmark -->
- <LinearLayout android:id="@+id/holder"
- android:layout_height="match_parent"
- android:layout_width="match_parent"
- android:orientation="vertical"
- android:background="#99000000"
- android:gravity="center"
- android:layout_alignBottom="@+id/thumb"
- android:layout_alignTop="@+id/thumb"
- >
- <ImageView
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:src="@drawable/ic_list_bookmark"
- />
- <TextView
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textStyle="bold"
- android:textColor="@color/white"
- android:text="@string/add_bookmark_short"
- />
- </LinearLayout>
-
<TextView android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"