blob: 4901ff15fa38d8367f17540557939a75c4a77ef8 [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"
19 android:layout_width="fill_parent"
20 android:layout_height="?android:attr/listPreferredItemHeight"
21 android:gravity="center"
22 android:padding="0dip">
23
24 <ImageView android:id="@+id/icon"
Nicolas Roard9cdaba52009-09-30 16:54:34 +010025 android:layout_width="32dip"
26 android:layout_height="32dip"
Nicolas Roardc5702322009-09-14 20:39:08 +010027 android:layout_alignParentTop="true"
28 android:layout_alignParentLeft="true"
29 android:layout_alignParentBottom="true"
30 android:padding="2dip" />
31
32 <LinearLayout android:id="@+id/features"
33 android:layout_width="wrap_content"
34 android:layout_height="wrap_content"
35 android:layout_alignParentTop="true"
36 android:layout_alignParentBottom="true"
37 android:layout_alignParentRight="true"
38 android:gravity="center"
39 android:padding="0dip"
40 android:layout_marginRight="2dip">
41
42 <ImageView android:id="@+id/location_icon"
Nicolas Roard9cdaba52009-09-30 16:54:34 +010043 android:layout_width="32dip"
44 android:layout_height="32dip"
Nicolas Roardc5702322009-09-14 20:39:08 +010045 android:padding="2dip" />
46
47 <ImageView android:id="@+id/usage_icon"
Nicolas Roard9cdaba52009-09-30 16:54:34 +010048 android:layout_width="32dip"
49 android:layout_height="32dip"
Nicolas Roardc5702322009-09-14 20:39:08 +010050 android:padding="2dip" />
51
52 </LinearLayout>
53
54 <TextView android:id="@+id/title"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:layout_alignParentTop="true"
58 android:layout_alignWithParentIfMissing="true"
59 android:layout_toRightOf="@id/icon"
60 android:layout_toLeftOf="@id/features"
61 android:layout_marginLeft="6dip"
62 android:layout_marginTop="6dip"
63 android:textAppearance="?android:attr/textAppearanceLarge"/>
64
65 <TextView android:id="@+id/subtitle"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:layout_toRightOf="@id/icon"
69 android:layout_toLeftOf="@id/features"
70 android:layout_below="@id/title"
71 android:layout_alignLeft="@id/title"
72 android:layout_marginBottom="2dip"
73 android:textAppearance="?android:attr/textAppearanceSmall"/>
74
75</RelativeLayout>