1 <?xml version="1.0" encoding="utf-8"?>
3 /* //device/apps/common/res/layout/select_dialog_item.xml
5 ** Copyright 2006, 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.
22 This layout file is used by the AlertDialog when displaying a list of items.
23 This layout file is inflated and used as the TextView to display individual
26 <TextView xmlns:android="http://schemas.android.com/apk/res/android"
27 android:id="@android:id/text1"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:minHeight="?android:attr/listPreferredItemHeight"
31 android:textAppearance="?android:attr/textAppearanceLarge"
32 android:textColor="?android:attr/textColorAlertDialogListItem"
33 android:gravity="center_vertical"
34 android:paddingStart="14dip"
35 android:paddingEnd="15dip"
36 android:ellipsize="marquee"