1 <?xml version="1.0" encoding="utf-8"?>
3 /* //device/apps/common/assets/res/any/layout/simple_spinner_item.xml
5 ** Copyright 2008, The Android Open Source Project
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
11 ** http://www.apache.org/licenses/LICENSE-2.0
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.
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"
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" >
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" />
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" />