blob: 7fc1782b248b3a8b96311fce9cf5712d572c9987 [file] [log] [blame]
John Reck86374722011-07-19 16:10:23 -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 Reck86374722011-07-19 16:10:23 -070022 <ImageView
23 android:id="@+id/thumb"
jrizzolidd494bf2015-10-11 22:04:40 +020024 android:src="@color/white"
John Reck86374722011-07-19 16:10:23 -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 Reck86374722011-07-19 16:10:23 -070030 <TextView
Sagar Dhawan37765532015-07-31 18:46:35 -070031 android:id="@+id/date"
John Reck86374722011-07-19 16:10:23 -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 Reck86374722011-07-19 16:10:23 -070037 android:singleLine="true"
38 android:ellipsize="end"
Sagar Dhawan37765532015-07-31 18:46:35 -070039 android:textSize="14sp"
John Reck86374722011-07-19 16:10:23 -070040 android:typeface="sans"
Sagar Dhawan37765532015-07-31 18:46:35 -070041 android:textColor="#AAAAAA"
Vivek Sekhared791da2015-02-22 12:39:05 -080042 android:paddingStart="6dip"
43 android:paddingEnd="2dip"
John Reck86374722011-07-19 16:10:23 -070044 android:gravity="center_vertical" />
Sagar Dhawan37765532015-07-31 18:46: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"
49 android:layout_alignStart="@+id/thumb"
50 android:layout_alignEnd="@+id/thumb"
51 android:layout_marginTop="6dip"
52 android:paddingStart="8dip"
53 android:gravity="center_vertical"
54 android:typeface="sans"
55 android:textAppearance="@style/BookmarkText"
56 android:lines="2" />
John Reck86374722011-07-19 16:10:23 -070057 <ImageView
58 android:id="@+id/divider"
59 android:src="?android:attr/dividerVertical"
60 android:layout_width="wrap_content"
John Reck86374722011-07-19 16:10:23 -070061 android:layout_height="wrap_content"
Sagar Dhawan37765532015-07-31 18:46:35 -070062 android:layout_alignStart="@+id/title"
63 android:layout_alignTop="@+id/title"
64 android:layout_alignBottom="@+id/title"
65 android:scaleType="fitXY" />
John Reck86374722011-07-19 16:10:23 -070066</RelativeLayout>