blob: c545fa4cc38a55e68ac67dddef83e9cac08e57f8 [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
Leon Scroggins89c6d362009-07-15 16:54:37 -040017<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy15b8ec62010-01-08 15:06:43 -080018 android:layout_width="match_parent"
19 android:layout_height="match_parent"
Leon Scrogginsb6b7f9e2009-06-18 12:05:28 -040020 android:orientation="vertical"
Leon Scroggins06ec5f22009-09-17 12:46:04 -040021 android:padding="0dip"
Leon Scroggins266ef432009-07-07 11:25:28 -040022 >
Leon Scrogginsb6b7f9e2009-06-18 12:05:28 -040023
John Reckb3417f02011-01-14 11:01:05 -080024 <ImageView
25 android:id="@+id/thumb"
Leon Scrogginsf8551612009-09-24 16:06:02 -040026 android:src="@drawable/browser_thumbnail"
Jeff Hamiltonf3026372010-08-19 00:12:27 -050027 android:scaleType="centerCrop"
28 android:layout_height="@dimen/bookmarkThumbnailHeight"
29 android:layout_width="@dimen/bookmarkThumbnailWidth"
John Reckb3417f02011-01-14 11:01:05 -080030 android:layout_centerHorizontal="true"
31 android:background="@drawable/border_thumb_bookmarks_widget_holo"
32 />
33
34 <ImageView
35 android:id="@+id/divider"
36 android:src="?android:attr/dividerVertical"
37 android:layout_width="wrap_content"
38 android:layout_height="24dip"
39 android:layout_below="@+id/thumb"
40 android:layout_alignLeft="@+id/thumb"
41 android:scaleType="fitXY"
42 android:layout_marginTop="12dip"
Leon Scroggins266ef432009-07-07 11:25:28 -040043 />
44
Leon Scroggins8b4ea192009-09-21 19:05:49 -040045 <TextView android:id="@+id/label"
Romain Guy15b8ec62010-01-08 15:06:43 -080046 android:layout_width="match_parent"
John Reckb3417f02011-01-14 11:01:05 -080047 android:layout_height="match_parent"
48 android:layout_toRightOf="@id/divider"
49 android:layout_alignTop="@id/divider"
50 android:layout_alignBottom="@id/divider"
Leon Scrogginsf8551612009-09-24 16:06:02 -040051 android:layout_alignRight="@+id/thumb"
John Reckb3417f02011-01-14 11:01:05 -080052 android:paddingLeft="8dip"
53 android:paddingRight="2dip"
54 android:gravity="center_vertical"
55 android:singleLine="true"
56 android:ellipsize="marquee"
57 android:typeface="sans"
58 android:textSize="14sp"
59 android:textColor="#AAAAAA"
Leon Scroggins8b4ea192009-09-21 19:05:49 -040060 />
61
Leon Scroggins89c6d362009-07-15 16:54:37 -040062</RelativeLayout>