blob: cd7b9be0140b2fcdd7087ea84e5be46a5aefbe82 [file] [log] [blame]
Leon Scrogginsb6b7f9e2009-06-18 12:05:28 -04001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
John Reck71efc2b2011-05-09 16:54:28 -070017<com.android.browser.view.BookmarkContainer xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content"
Leon Scrogginsb6b7f9e2009-06-18 12:05:28 -040020 android:orientation="vertical"
John Reck3ce396a2011-05-18 13:30:29 -070021 android:padding="@dimen/combo_horizontalSpacing"
John Reck71efc2b2011-05-09 16:54:28 -070022 android:background="@drawable/bookmark_thumb_selector"
Leon Scroggins266ef432009-07-07 11:25:28 -040023 >
Leon Scrogginsb6b7f9e2009-06-18 12:05:28 -040024
John Reckb3417f02011-01-14 11:01:05 -080025 <ImageView
26 android:id="@+id/thumb"
Leon Scrogginsf8551612009-09-24 16:06:02 -040027 android:src="@drawable/browser_thumbnail"
Jeff Hamiltonf3026372010-08-19 00:12:27 -050028 android:scaleType="centerCrop"
29 android:layout_height="@dimen/bookmarkThumbnailHeight"
30 android:layout_width="@dimen/bookmarkThumbnailWidth"
John Reckb3417f02011-01-14 11:01:05 -080031 android:layout_centerHorizontal="true"
32 android:background="@drawable/border_thumb_bookmarks_widget_holo"
33 />
34
35 <ImageView
36 android:id="@+id/divider"
37 android:src="?android:attr/dividerVertical"
38 android:layout_width="wrap_content"
39 android:layout_height="24dip"
40 android:layout_below="@+id/thumb"
41 android:layout_alignLeft="@+id/thumb"
42 android:scaleType="fitXY"
43 android:layout_marginTop="12dip"
Leon Scroggins266ef432009-07-07 11:25:28 -040044 />
45
Leon Scroggins8b4ea192009-09-21 19:05:49 -040046 <TextView android:id="@+id/label"
Romain Guy15b8ec62010-01-08 15:06:43 -080047 android:layout_width="match_parent"
John Reckb3417f02011-01-14 11:01:05 -080048 android:layout_height="match_parent"
49 android:layout_toRightOf="@id/divider"
50 android:layout_alignTop="@id/divider"
51 android:layout_alignBottom="@id/divider"
Leon Scrogginsf8551612009-09-24 16:06:02 -040052 android:layout_alignRight="@+id/thumb"
John Reckb3417f02011-01-14 11:01:05 -080053 android:paddingLeft="8dip"
54 android:paddingRight="2dip"
55 android:gravity="center_vertical"
56 android:singleLine="true"
57 android:ellipsize="marquee"
58 android:typeface="sans"
59 android:textSize="14sp"
60 android:textColor="#AAAAAA"
Leon Scroggins8b4ea192009-09-21 19:05:49 -040061 />
62
John Reck71efc2b2011-05-09 16:54:28 -070063</com.android.browser.view.BookmarkContainer>