blob: 19e998e7ebd44579843000513b1c0e4cf4b084d5 [file] [log] [blame]
Nicolas Roardc5702322009-09-14 20:39:08 +01001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:drawingCacheQuality="auto"
Romain Guy15b8ec62010-01-08 15:06:43 -080019 android:layout_width="match_parent"
Nicolas Roardc5702322009-09-14 20:39:08 +010020 android:layout_height="?android:attr/listPreferredItemHeight"
Ben Murdochbe9560d2009-11-09 09:52:21 -080021 android:gravity="center_vertical"
Nicolas Roardc5702322009-09-14 20:39:08 +010022 android:padding="0dip">
23
24 <ImageView android:id="@+id/icon"
Ben Murdochbe9560d2009-11-09 09:52:21 -080025 android:layout_width="20dip"
26 android:layout_height="20dip"
Vivek Sekhared791da2015-02-22 12:39:05 -080027 android:layout_marginStart="18dip"
28 android:layout_marginEnd="18dip"
Ben Murdochbe9560d2009-11-09 09:52:21 -080029 android:layout_centerVertical="true"
John Reck548ac6f2011-06-09 16:24:00 -070030 android:background="@drawable/bookmark_list_favicon_bg"
Nicolas Roardc5702322009-09-14 20:39:08 +010031 android:padding="2dip" />
32
33 <LinearLayout android:id="@+id/features"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_alignParentTop="true"
37 android:layout_alignParentBottom="true"
Vivek Sekhared791da2015-02-22 12:39:05 -080038 android:layout_alignParentEnd="true"
Nicolas Roardc5702322009-09-14 20:39:08 +010039 android:gravity="center"
40 android:padding="0dip"
Vivek Sekhared791da2015-02-22 12:39:05 -080041 android:layout_marginEnd="2dip">
Nicolas Roardc5702322009-09-14 20:39:08 +010042
43 <ImageView android:id="@+id/location_icon"
Nicolas Roard9cdaba52009-09-30 16:54:34 +010044 android:layout_width="32dip"
45 android:layout_height="32dip"
Nicolas Roardc5702322009-09-14 20:39:08 +010046 android:padding="2dip" />
47
48 <ImageView android:id="@+id/usage_icon"
Nicolas Roard9cdaba52009-09-30 16:54:34 +010049 android:layout_width="32dip"
50 android:layout_height="32dip"
Nicolas Roardc5702322009-09-14 20:39:08 +010051 android:padding="2dip" />
52
Ben Murdochbe9560d2009-11-09 09:52:21 -080053 <ImageView android:id="@+id/feature_icon"
54 android:layout_width="32dip"
55 android:layout_height="32dip"
56 android:padding="2dip"
57 android:layout_centerVertical="true"
Vivek Sekhared791da2015-02-22 12:39:05 -080058 android:layout_alignParentEnd="true"
Ben Murdochbe9560d2009-11-09 09:52:21 -080059 android:visibility="gone" />
Nicolas Roardc5702322009-09-14 20:39:08 +010060 </LinearLayout>
61
Ben Murdochbe9560d2009-11-09 09:52:21 -080062 <LinearLayout
Nicolas Roardc5702322009-09-14 20:39:08 +010063 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
Vivek Sekhared791da2015-02-22 12:39:05 -080065 android:layout_toEndOf="@id/icon"
66 android:layout_toStartOf="@id/features"
Ben Murdochbe9560d2009-11-09 09:52:21 -080067 android:layout_centerVertical="true"
Nicolas Roardc5702322009-09-14 20:39:08 +010068 android:layout_alignWithParentIfMissing="true"
Ben Murdochbe9560d2009-11-09 09:52:21 -080069 android:orientation="vertical">
Nicolas Roardc5702322009-09-14 20:39:08 +010070
Ben Murdochbe9560d2009-11-09 09:52:21 -080071 <TextView android:id="@+id/title"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:textAppearance="?android:attr/textAppearanceMedium"
75 android:maxLines="2"
76 android:ellipsize="end" />
Nicolas Roardc5702322009-09-14 20:39:08 +010077
Ben Murdochbe9560d2009-11-09 09:52:21 -080078 <TextView android:id="@+id/subtitle"
79 android:layout_width="wrap_content"
80 android:layout_height="wrap_content"
81 android:textAppearance="?android:attr/textAppearanceSmall"
82 android:visibility="gone"
83 android:singleLine="true"
84 android:ellipsize="end" />
85 </LinearLayout>
Nicolas Roardc5702322009-09-14 20:39:08 +010086</RelativeLayout>