blob: c3ce866c9f19eecd2d3dd03797e37c608df590d2 [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"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080021 android:padding="@dimen/combo_snapshot_item_padding">
John Reck2bc80422011-06-30 15:11:49 -070022 <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"
Vivek Sekhared791da2015-02-22 12:39:05 -080035 android:layout_alignStart="@id/thumb"
36 android:layout_alignEnd="@id/thumb"
John Reck2bc80422011-06-30 15:11:49 -070037 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"
Vivek Sekhared791da2015-02-22 12:39:05 -080043 android:paddingStart="6dip"
44 android:paddingEnd="2dip"
John Reck8cc92352011-07-06 17:41:52 -070045 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"
Vivek Sekhared791da2015-02-22 12:39:05 -080050 android:layout_alignStart="@+id/thumb"
51 android:layout_alignEnd="@+id/thumb"
52 android:layout_marginTop="6dip"
53 android:paddingStart="8dip"
John Reck027ab222011-07-29 13:29:35 -070054 android:gravity="center_vertical"
Vivek Sekhared791da2015-02-22 12:39:05 -080055 android:typeface="sans"
Pankaj Garg21dad562015-07-02 17:17:24 -070056 android:textAppearance="@style/BookmarkText"
John Reck027ab222011-07-29 13:29:35 -070057 android:lines="2" />
John Reck2bc80422011-06-30 15:11:49 -070058 <ImageView
59 android:id="@+id/divider"
60 android:src="?android:attr/dividerVertical"
61 android:layout_width="wrap_content"
John Reck2bc80422011-06-30 15:11:49 -070062 android:layout_height="wrap_content"
Vivek Sekhared791da2015-02-22 12:39:05 -080063 android:layout_alignStart="@+id/title"
John Reck027ab222011-07-29 13:29:35 -070064 android:layout_alignTop="@+id/title"
65 android:layout_alignBottom="@+id/title"
66 android:scaleType="fitXY" />
John Reck2bc80422011-06-30 15:11:49 -070067</RelativeLayout>