1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/assets/res/any/layout/simple_spinner_item.xml
4**
5** Copyright 2010, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<LinearLayout
22    xmlns:android="http://schemas.android.com/apk/res/android"
23    android:layout_width="match_parent"
24    android:layout_height="48dip"
25    android:orientation="horizontal"
26    android:gravity="center_vertical"
27    android:baselineAligned="false"
28    >
29    <LinearLayout
30        android:id="@+id/suggestion"
31        android:layout_width="0dip"
32        android:layout_height="match_parent"
33        android:layout_weight="1"
34        android:orientation="horizontal"
35        android:background="?android:attr/selectableItemBackground"
36        android:padding="0dp">
37        <ImageView
38            android:layout_width="wrap_content"
39            android:layout_height="wrap_content"
40            android:id="@+id/icon1"
41            android:layout_gravity="center_vertical"
42            android:layout_marginLeft="@dimen/suggest_item_padding"
43            android:layout_marginRight="@dimen/suggest_item_padding" />
44        <LinearLayout
45            android:layout_width="0dip"
46            android:layout_height="wrap_content"
47            android:layout_weight="1"
48            android:layout_gravity="center_vertical"
49            android:orientation="vertical">
50            <TextView
51                android:id="@android:id/text1"
52                style="@style/SuggestionLineMedium"
53                android:maxLines="1"
54                android:layout_width="match_parent"
55                android:layout_height="wrap_content" />
56            <TextView
57                android:id="@android:id/text2"
58                style="@style/SuggestionLineSmall"
59                android:singleLine="true"
60                android:layout_width="match_parent"
61                android:layout_height="wrap_content" />
62        </LinearLayout>
63    </LinearLayout>
64    <ImageView
65        android:layout_width="wrap_content"
66        android:layout_height="match_parent"
67        android:id="@+id/divider"
68        android:scaleType="center"
69        android:background="@*android:drawable/list_divider_holo_light"
70        />
71    <ImageView
72        android:layout_width="wrap_content"
73        android:layout_height="match_parent"
74        android:id="@+id/icon2"
75        android:scaleType="center"
76        android:src="@drawable/ic_querybuilder"
77        android:background="?android:attr/selectableItemBackground"
78        android:paddingRight="@dimen/suggest_item_padding"
79        android:paddingLeft="@dimen/suggest_item_padding"
80         />
81</LinearLayout>
82