summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-22 09:38:29 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-22 09:38:29 -0400
commitf4672127dba061c9d4d69a1139e9c8e43d740a49 (patch)
tree795441eb367eda952eb9ee3bea3cb45014683166 /res
parent685498685d8424f48d77d26d8d5790da34645f44 (diff)
parent8b4ea19c5daa02088a615488d657e71e7f1e03ca (diff)
downloadpackages_apps_browser-f4672127dba061c9d4d69a1139e9c8e43d740a49.zip
packages_apps_browser-f4672127dba061c9d4d69a1139e9c8e43d740a49.tar.gz
packages_apps_browser-f4672127dba061c9d4d69a1139e9c8e43d740a49.tar.bz2
Merge change 26273 into eclair
* changes: Updates for bookmarks page.
Diffstat (limited to 'res')
-rw-r--r--res/layout/bookmark_thumbnail.xml38
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>