diff options
author | Leon Scroggins <scroggo@google.com> | 2009-09-21 19:05:49 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-09-21 19:05:49 -0400 |
commit | 8b4ea19c5daa02088a615488d657e71e7f1e03ca (patch) | |
tree | 35e7683a4fd25daebc5bcd162e3b27d9320320b4 /res | |
parent | cd921352dd09c208258e85fa5926b4e3a1b34f4d (diff) | |
download | packages_apps_browser-8b4ea19c5daa02088a615488d657e71e7f1e03ca.zip packages_apps_browser-8b4ea19c5daa02088a615488d657e71e7f1e03ca.tar.gz packages_apps_browser-8b4ea19c5daa02088a615488d657e71e7f1e03ca.tar.bz2 |
Updates for bookmarks page.
Move the title below the snapshot, and for the current page, dim
the whole snapshot.
Change-Id: Ia6aaa68c45c47a0dad6090b190cec2d6dee65f28
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/bookmark_thumbnail.xml | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/res/layout/bookmark_thumbnail.xml b/res/layout/bookmark_thumbnail.xml index 9a59150..61ac50a 100644 --- a/res/layout/bookmark_thumbnail.xml +++ b/res/layout/bookmark_thumbnail.xml @@ -22,41 +22,25 @@ <!-- Keep the width in sync with BrowserBookmarksPage and BrowserActivity.updateScreenshot --> - <TextView android:id="@+id/label" - android:layout_width="100dip" - 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:paddingTop="3dip" - android:paddingBottom="3dip" - android:paddingLeft="2dip" - android:paddingRight="2dip" - android:scrollHorizontally="true" - android:ellipsize="marquee" - /> - <ImageView android:id="@+id/thumb" android:src="@drawable/ic_launcher_shortcut_browser_bookmark" android:scaleType="center" android:layout_width="100dip" android:layout_height="80dip" android:background="@drawable/bookmark_shadow" - android:layout_below="@+id/label" /> <!-- FIXME: Want to have a gradient over the thumb --> <!-- This holds the star for addbookmark --> <LinearLayout android:id="@+id/holder" - android:layout_height="wrap_content" + android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="horizontal" android:background="#cc000000" android:gravity="center" android:layout_alignBottom="@+id/thumb" + android:layout_alignTop="@+id/thumb" > <ImageView android:layout_height="wrap_content" @@ -74,4 +58,22 @@ android:text="@string/add_bookmark_short" /> </LinearLayout> + + <TextView android:id="@+id/label" + android:layout_width="100dip" + 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:paddingTop="3dip" + android:paddingBottom="3dip" + android:paddingLeft="2dip" + android:paddingRight="2dip" + android:scrollHorizontally="true" + android:ellipsize="marquee" + android:layout_below="@+id/thumb" + /> + </RelativeLayout> |