blob: 7fc1782b248b3a8b96311fce9cf5712d572c9987 [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"
jrizzolidd494bf2015-10-11 22:04:40 +020024 android:src="@color/white"
John Reck2bc80422011-06-30 15:11:49 -070025 android:layout_width="@dimen/bookmarkThumbnailWidth"
26 android:layout_height="@dimen/bookmarkThumbnailHeight"
27 android:scaleType="centerCrop"
28 android:cropToPadding="true"
jrizzolidd494bf2015-10-11 22:04:40 +020029 android:background="@color/white" />
John Reck2bc80422011-06-30 15:11:49 -070030 <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:singleLine="true"
38 android:ellipsize="end"
John Reck027ab222011-07-29 13:29:35 -070039 android:textSize="14sp"
John Reck2bc80422011-06-30 15:11:49 -070040 android:typeface="sans"
John Reck027ab222011-07-29 13:29:35 -070041 android:textColor="#AAAAAA"
Vivek Sekhared791da2015-02-22 12:39:05 -080042 android:paddingStart="6dip"
43 android:paddingEnd="2dip"
John Reck8cc92352011-07-06 17:41:52 -070044 android:gravity="center_vertical" />
John Reck027ab222011-07-29 13:29:35 -070045 <TextView android:id="@+id/title"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:layout_below="@+id/thumb"
Vivek Sekhared791da2015-02-22 12:39:05 -080049 android:layout_alignStart="@+id/thumb"
50 android:layout_alignEnd="@+id/thumb"
51 android:layout_marginTop="6dip"
52 android:paddingStart="8dip"
John Reck027ab222011-07-29 13:29:35 -070053 android:gravity="center_vertical"
Vivek Sekhared791da2015-02-22 12:39:05 -080054 android:typeface="sans"
Pankaj Garg21dad562015-07-02 17:17:24 -070055 android:textAppearance="@style/BookmarkText"
John Reck027ab222011-07-29 13:29:35 -070056 android:lines="2" />
John Reck2bc80422011-06-30 15:11:49 -070057 <ImageView
58 android:id="@+id/divider"
59 android:src="?android:attr/dividerVertical"
60 android:layout_width="wrap_content"
John Reck2bc80422011-06-30 15:11:49 -070061 android:layout_height="wrap_content"
Vivek Sekhared791da2015-02-22 12:39:05 -080062 android:layout_alignStart="@+id/title"
John Reck027ab222011-07-29 13:29:35 -070063 android:layout_alignTop="@+id/title"
64 android:layout_alignBottom="@+id/title"
65 android:scaleType="fitXY" />
John Reck2bc80422011-06-30 15:11:49 -070066</RelativeLayout>