blob: a8e9d1ac1d4bdc091ea43d0032cbe4454c36f20d [file] [log] [blame]
Michael Kolbfe251992010-07-08 15:41:55 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/assets/res/any/layout/simple_spinner_item.xml
4**
Michael Kolb513286f2010-09-09 12:55:12 -07005** Copyright 2010, The Android Open Source Project
Michael Kolbfe251992010-07-08 15:41:55 -07006**
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"
John Reckad373302010-12-17 15:28:13 -080024 android:layout_height="48dip"
Michael Kolbfe251992010-07-08 15:41:55 -070025 android:orientation="horizontal"
26 android:gravity="center_vertical"
Michael Kolbd3e4d4f2010-10-15 10:58:44 -070027 android:baselineAligned="false"
28 >
John Reckad373302010-12-17 15:28:13 -080029 <LinearLayout
30 android:id="@+id/suggestion"
Michael Kolbfe251992010-07-08 15:41:55 -070031 android:layout_width="0dip"
John Reckad373302010-12-17 15:28:13 -080032 android:layout_height="match_parent"
Michael Kolbfe251992010-07-08 15:41:55 -070033 android:layout_weight="1"
John Reckad373302010-12-17 15:28:13 -080034 android:orientation="horizontal"
John Reck288f79e2011-10-17 16:35:58 -070035 android:background="?android:attr/selectableItemBackground"
John Reck67f33632011-06-17 16:23:42 -070036 android:padding="0dp">
John Reckad373302010-12-17 15:28:13 -080037 <ImageView
38 android:layout_width="wrap_content"
Michael Kolbfe251992010-07-08 15:41:55 -070039 android:layout_height="wrap_content"
John Reckad373302010-12-17 15:28:13 -080040 android:id="@+id/icon1"
41 android:layout_gravity="center_vertical"
Vivek Sekhared791da2015-02-22 12:39:05 -080042 android:layout_marginStart="@dimen/suggest_item_padding"
43 android:layout_marginEnd="@dimen/suggest_item_padding" />
John Reckad373302010-12-17 15:28:13 -080044 <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"
John Reck6a9afa92011-07-29 10:18:41 -070053 android:maxLines="1"
John Reckad373302010-12-17 15:28:13 -080054 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"
John Reck7b8ed612011-02-18 14:01:06 -080061 android:layout_height="wrap_content" />
John Reckad373302010-12-17 15:28:13 -080062 </LinearLayout>
63 </LinearLayout>
Michael Kolb7b20ddd2010-10-14 15:03:28 -070064 <ImageView
65 android:layout_width="wrap_content"
Michael Kolb5a72f182011-01-13 20:35:06 -080066 android:layout_height="match_parent"
Michael Kolb7b20ddd2010-10-14 15:03:28 -070067 android:id="@+id/divider"
68 android:scaleType="center"
Tarun Nainani4dfc9852014-07-23 18:30:46 -070069 android:background="@drawable/list_divider_holo_light"
Michael Kolb7b20ddd2010-10-14 15:03:28 -070070 />
John Reckad373302010-12-17 15:28:13 -080071 <ImageView
Michael Kolb513286f2010-09-09 12:55:12 -070072 android:layout_width="wrap_content"
John Reck67f33632011-06-17 16:23:42 -070073 android:layout_height="match_parent"
Michael Kolb513286f2010-09-09 12:55:12 -070074 android:id="@+id/icon2"
75 android:scaleType="center"
Enrico Rosd6efa972014-12-02 19:49:59 -080076 android:src="@drawable/ic_action_querybuilder"
John Reck288f79e2011-10-17 16:35:58 -070077 android:background="?android:attr/selectableItemBackground"
Vivek Sekhared791da2015-02-22 12:39:05 -080078 android:paddingEnd="@dimen/suggest_item_padding"
79 android:paddingStart="@dimen/suggest_item_padding"
Michael Kolb513286f2010-09-09 12:55:12 -070080 />
Michael Kolbfe251992010-07-08 15:41:55 -070081</LinearLayout>