1 <?xml version="1.0" encoding="utf-8"?>
3 * Copyright (C) 2007-2008 OpenIntents.org
\r
5 * Licensed under the Apache License, Version 2.0 (the "License");
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:orientation="horizontal"
19 android:layout_width="fill_parent"
20 android:layout_height="wrap_content"
21 android:layout_marginLeft="8dip"
22 android:minHeight="?android:attr/listPreferredItemHeight"
23 ><!-- android:layout_marginTop="8dip" android:layout_marginBottom="8dip"
27 android:id="@+id/icon"
\r
28 android:layout_height="wrap_content"
\r
29 android:layout_width="wrap_content"
\r
30 android:scaleType="center"
\r
31 android:layout_gravity="center_vertical"
\r
35 android:orientation="vertical"
36 android:layout_width="0dip"
37 android:layout_height="wrap_content"
38 android:layout_weight="1"
39 android:layout_gravity="center_vertical"
40 android:layout_marginLeft="5dip"
41 ><!-- android:layout_alignParentLeft="true"
44 android:id="@+id/text"
45 android:layout_height="wrap_content"
46 android:layout_width="wrap_content"
47 android:textAppearance="?android:attr/textAppearanceLarge"
\r
48 android:singleLine="true"
\r
49 android:ellipsize="end"
52 android:id="@+id/info"
53 android:layout_height="wrap_content"
54 android:layout_width="wrap_content"
59 <ImageView android:id="@+id/select_icon"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:layout_marginRight="4dp"
63 android:layout_gravity="right|center_vertical" />