blob: 7c7ba3bf893907bbdcfef9aa0139a852a85529d7 [file] [log] [blame]
John Reck2bc80422011-06-30 15:11:49 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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
17<RelativeLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="wrap_content"
20 android:layout_height="wrap_content"
21 android:padding="@dimen/combo_horizontalSpacing">
22 <ImageView
23 android:id="@+id/thumb"
24 android:src="@drawable/thumbnail_bookmarks_widget_no_bookmark_holo"
25 android:layout_width="@dimen/bookmarkThumbnailWidth"
26 android:layout_height="@dimen/bookmarkThumbnailHeight"
27 android:scaleType="centerCrop"
28 android:cropToPadding="true"
29 android:background="@drawable/border_thumb_bookmarks_widget_holo" />
30 <TextView
John Reck027ab222011-07-29 13:29:35 -070031 android:id="@+id/date"
John Reck2bc80422011-06-30 15:11:49 -070032 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
34 android:layout_alignBottom="@id/thumb"
35 android:layout_alignLeft="@id/thumb"
36 android:layout_alignRight="@id/thumb"
37 android:background="@drawable/overlay_url_bookmark_widget_holo"
38 android:singleLine="true"
39 android:ellipsize="end"
John Reck027ab222011-07-29 13:29:35 -070040 android:textSize="14sp"
John Reck2bc80422011-06-30 15:11:49 -070041 android:typeface="sans"
John Reck027ab222011-07-29 13:29:35 -070042 android:textColor="#AAAAAA"
John Reck8cc92352011-07-06 17:41:52 -070043 android:paddingLeft="6dip"
44 android:paddingRight="2dip"
45 android:gravity="center_vertical" />
John Reck027ab222011-07-29 13:29:35 -070046 <TextView android:id="@+id/title"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:layout_below="@+id/thumb"
50 android:layout_alignLeft="@+id/thumb"
51 android:layout_alignRight="@+id/thumb"
52 android:layout_marginTop="6dip"
53 android:paddingLeft="8dip"
54 android:gravity="center_vertical"
55 android:typeface="sans"
56 android:textSize="12sp"
57 android:textColor="#AAAAAA"
58 android:lines="2" />
John Reck2bc80422011-06-30 15:11:49 -070059 <ImageView
60 android:id="@+id/divider"
61 android:src="?android:attr/dividerVertical"
62 android:layout_width="wrap_content"
John Reck2bc80422011-06-30 15:11:49 -070063 android:layout_height="wrap_content"
John Reck027ab222011-07-29 13:29:35 -070064 android:layout_alignLeft="@+id/title"
65 android:layout_alignTop="@+id/title"
66 android:layout_alignBottom="@+id/title"
67 android:scaleType="fitXY" />
John Reck2bc80422011-06-30 15:11:49 -070068</RelativeLayout>