summaryrefslogtreecommitdiffstats
path: root/res/layout/bookmark_thumbnail.xml
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-01-14 11:01:05 -0800
committerJohn Reck <jreck@google.com>2011-01-14 17:37:01 -0800
commitb3417f0a68a1efc64604ea354ae7f856ce79cb16 (patch)
tree455c87606f0f1a97c2c06c7338a5aa29715880e8 /res/layout/bookmark_thumbnail.xml
parent231f751049febdb0877ead6364d33d130286cff1 (diff)
downloadpackages_apps_Browser-b3417f0a68a1efc64604ea354ae7f856ce79cb16.zip
packages_apps_Browser-b3417f0a68a1efc64604ea354ae7f856ce79cb16.tar.gz
packages_apps_Browser-b3417f0a68a1efc64604ea354ae7f856ce79cb16.tar.bz2
Bookmark UI update
Change-Id: Ibdf7f93f7c5863d7108044dcd40d3866ff02518a
Diffstat (limited to 'res/layout/bookmark_thumbnail.xml')
-rw-r--r--res/layout/bookmark_thumbnail.xml42
1 files changed, 26 insertions, 16 deletions
diff --git a/res/layout/bookmark_thumbnail.xml b/res/layout/bookmark_thumbnail.xml
index 91d8db7..c545fa4 100644
--- a/res/layout/bookmark_thumbnail.xml
+++ b/res/layout/bookmark_thumbnail.xml
@@ -21,32 +21,42 @@
android:padding="0dip"
>
- <ImageView android:id="@+id/thumb"
+ <ImageView
+ android:id="@+id/thumb"
android:src="@drawable/browser_thumbnail"
android:scaleType="centerCrop"
android:layout_height="@dimen/bookmarkThumbnailHeight"
android:layout_width="@dimen/bookmarkThumbnailWidth"
- android:layout_gravity="center"
+ android:layout_centerHorizontal="true"
+ android:background="@drawable/border_thumb_bookmarks_widget_holo"
+ />
+
+ <ImageView
+ android:id="@+id/divider"
+ android:src="?android:attr/dividerVertical"
+ android:layout_width="wrap_content"
+ android:layout_height="24dip"
+ android:layout_below="@+id/thumb"
+ android:layout_alignLeft="@+id/thumb"
+ android:scaleType="fitXY"
+ android:layout_marginTop="12dip"
/>
<TextView android:id="@+id/label"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textStyle="bold"
- android:textColor="@color/white"
- android:maxLines="1"
- android:paddingLeft="2dip"
+ android:layout_height="match_parent"
+ android:layout_toRightOf="@id/divider"
+ android:layout_alignTop="@id/divider"
+ android:layout_alignBottom="@id/divider"
+ android:layout_alignRight="@+id/thumb"
+ android:paddingLeft="8dip"
android:paddingRight="2dip"
- android:paddingTop="0dip"
- android:paddingBottom="0dip"
- android:layout_marginTop="0dip"
- android:scrollHorizontally="true"
+ android:gravity="center_vertical"
+ android:singleLine="true"
android:ellipsize="marquee"
- android:layout_below="@+id/thumb"
- android:layout_alignLeft="@+id/thumb"
- android:layout_alignRight="@+id/thumb"
+ android:typeface="sans"
+ android:textSize="14sp"
+ android:textColor="#AAAAAA"
/>
</RelativeLayout>