blob: b85911f0f2aa46478ae9740dc6f7bf2ac5ca3385 [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"
35 android:background="@drawable/suggest_item_selector">
36 <ImageView
37 android:layout_width="wrap_content"
Michael Kolbfe251992010-07-08 15:41:55 -070038 android:layout_height="wrap_content"
John Reckad373302010-12-17 15:28:13 -080039 android:id="@+id/icon1"
40 android:layout_gravity="center_vertical"
41 style="@style/HoloIcon"
42 android:layout_marginRight="16dip" />
43 <LinearLayout
44 android:layout_width="0dip"
45 android:layout_height="wrap_content"
46 android:layout_weight="1"
47 android:layout_gravity="center_vertical"
48 android:orientation="vertical">
49 <TextView
50 android:id="@android:id/text1"
51 style="@style/SuggestionLineMedium"
52 android:singleLine="true"
53 android:layout_width="match_parent"
54 android:layout_height="wrap_content" />
55 <TextView
56 android:id="@android:id/text2"
57 style="@style/SuggestionLineSmall"
58 android:singleLine="true"
59 android:layout_width="match_parent"
John Reckdd7d7512011-01-17 13:08:30 -080060 android:layout_height="wrap_content"
61 android:textColor="@color/urlTextColor" />
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"
Michael Kolb5a72f182011-01-13 20:35:06 -080069 android:background="@*android: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"
73 android:layout_height="wrap_content"
74 android:id="@+id/icon2"
75 android:scaleType="center"
Michael Kolb513286f2010-09-09 12:55:12 -070076 android:src="@drawable/ic_add_string"
Michael Kolb5a72f182011-01-13 20:35:06 -080077 android:background="?android:attr/activatedBackgroundIndicator"
John Reckad373302010-12-17 15:28:13 -080078 style="@style/HoloButton"
79 android:layout_marginRight="16dip"
Michael Kolb513286f2010-09-09 12:55:12 -070080 />
Michael Kolbfe251992010-07-08 15:41:55 -070081</LinearLayout>