1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* //device/apps/common/assets/res/any/layout/simple_spinner_item.xml 4** 5** Copyright 2008, 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 xmlns:android="http://schemas.android.com/apk/res/android" 22 android:layout_width="match_parent" 23 android:layout_height="?android:attr/listPreferredItemHeight" 24 android:orientation="horizontal" 25 android:gravity="center_vertical" 26 android:baselineAligned="false" 27 > 28 29 <TwoLineListItem 30 android:paddingTop="2dip" 31 android:paddingBottom="2dip" 32 android:layout_width="0dip" 33 android:layout_weight="1" 34 android:layout_height="wrap_content" 35 android:mode="twoLine" > 36 37 <TextView 38 android:id="@android:id/text1" 39 style="?android:attr/dropDownItemStyle" 40 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" 41 android:singleLine="true" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" /> 44 45 <TextView 46 android:id="@android:id/text2" 47 style="?android:attr/dropDownItemStyle" 48 android:textAppearance="?android:attr/textAppearanceSmallPopupMenu" 49 android:textColor="#323232" 50 android:singleLine="true" 51 android:layout_width="match_parent" 52 android:layout_height="wrap_content" 53 android:layout_below="@android:id/text1" 54 android:layout_alignStart="@android:id/text1" /> 55 56 </TwoLineListItem> 57 58</LinearLayout> 59