summaryrefslogtreecommitdiffstats
path: root/res/layout/bookmark_thumbnail.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/bookmark_thumbnail.xml')
-rw-r--r--res/layout/bookmark_thumbnail.xml58
1 files changed, 18 insertions, 40 deletions
diff --git a/res/layout/bookmark_thumbnail.xml b/res/layout/bookmark_thumbnail.xml
index df9e8535..8913551d 100644
--- a/res/layout/bookmark_thumbnail.xml
+++ b/res/layout/bookmark_thumbnail.xml
@@ -18,46 +18,24 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingStart="@dimen/combo_horizontalSpacing"
- android:paddingEnd="@dimen/combo_horizontalSpacing"
android:layout_margin="@dimen/combo_bookmark_thumbnail_margin"
- android:background="@drawable/bookmark_thumb_selector"
android:orientation="vertical"
- >
-
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <com.android.browser.view.BookmarkThumbImageView
- android:id="@+id/thumb_image"
- android:layout_width="@dimen/bookmarkThumbnailWidth"
- android:layout_height="@dimen/bookmarkThumbnailHeight"
- android:paddingTop="2dip"
- android:scaleType="centerCrop"
- android:src="@drawable/browser_thumbnail"
- />
-
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:background="@color/bookmarkWidgetFolderBackground"
- android:orientation="vertical" >
-
- <TextView
- android:id="@+id/label"
- android:layout_width="@dimen/bookmarkThumbnailWidth"
- android:layout_height="wrap_content"
- android:ellipsize="marquee"
- android:paddingStart="8dip"
- android:paddingEnd="4dip"
- android:paddingTop="2dip"
- android:paddingBottom="2dip"
- android:singleLine="true"
- android:textAppearance="@style/BookmarkText"
- />
- </LinearLayout>
- </FrameLayout>
-
+ android:paddingEnd="@dimen/combo_horizontalSpacing"
+ android:paddingStart="@dimen/combo_horizontalSpacing" >
+
+ <com.android.browser.SiteTileView
+ android:id="@+id/thumb_image"
+ android:layout_width="@dimen/bookmarkThumbnailWidth"
+ android:layout_height="@dimen/bookmarkThumbnailHeight" />
+
+ <TextView
+ android:id="@+id/label"
+ android:layout_width="@dimen/bookmarkThumbnailWidth"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:ellipsize="marquee"
+ android:lines="2"
+ android:paddingBottom="2dip"
+ android:paddingTop="2dip"
+ android:textAppearance="@style/BookmarkText" />
</com.android.browser.view.BookmarkContainer>