blob: 5e8f84ca158ca9250568618821d1d129bee0e656 [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"
Michael Kolb513286f2010-09-09 12:55:12 -070024 android:layout_height="wrap_content"
Michael Kolbfe251992010-07-08 15:41:55 -070025 android:orientation="horizontal"
26 android:gravity="center_vertical"
27 android:baselineAligned="false">
28 <ImageView
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:id="@+id/icon1"
32 android:scaleType="center"
Michael Kolb513286f2010-09-09 12:55:12 -070033 style="@style/HoloButton" />
Michael Kolbfe251992010-07-08 15:41:55 -070034 <TwoLineListItem
Michael Kolb513286f2010-09-09 12:55:12 -070035 android:paddingTop="16dip"
36 android:paddingBottom="16dip"
Michael Kolbfe251992010-07-08 15:41:55 -070037 android:layout_width="0dip"
38 android:layout_weight="1"
39 android:layout_height="wrap_content"
40 android:mode="twoLine">
41 <TextView
42 android:id="@android:id/text1"
43 style="?android:attr/dropDownItemStyle"
44 android:textAppearance="?android:attr/textAppearanceLargeInverse"
45 android:singleLine="true"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content" />
48 <TextView
49 android:id="@android:id/text2"
50 style="?android:attr/dropDownItemStyle"
51 android:textAppearance="?android:attr/textAppearanceSmallInverse"
52 android:textColor="#323232"
53 android:singleLine="true"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:layout_below="@android:id/text1"
57 android:layout_alignLeft="@android:id/text1" />
58 </TwoLineListItem>
Michael Kolb513286f2010-09-09 12:55:12 -070059 <ImageButton
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:id="@+id/icon2"
63 android:scaleType="center"
64 style="@style/HoloButton"
65 android:src="@drawable/ic_add_string"
66 android:background="@drawable/browserbarbutton"
67 />
Michael Kolbfe251992010-07-08 15:41:55 -070068</LinearLayout>