1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2010, The Android Open Source Project
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
10 ** http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
21 This layout file is used by the AlertDialog when displaying a list of items.
22 This layout file is inflated and used as the ListView to display the items.
23 Assign an ID so its state will be saved/restored.
25 <view class="com.android.internal.app.AlertController$RecycleListView"
26 xmlns:android="http://schemas.android.com/apk/res/android"
27 android:id="@+android:id/select_dialog_listview"
28 android:layout_width="match_parent"
29 android:layout_height="match_parent"
30 android:cacheColorHint="@null"
31 android:divider="?android:attr/listDividerAlertDialog"
32 android:scrollbars="vertical"
33 android:overScrollMode="ifContentScrolls"
34 android:textAlignment="viewStart" />