1 <?xml version="1.0" encoding="utf-8"?>
3 /* //device/apps/common/res/layout/select_dialog.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 ListView to display the items.
24 Assign an ID so its state will be saved/restored.
26 <view class="com.android.internal.app.AlertController$RecycleListView"
27 xmlns:android="http://schemas.android.com/apk/res/android"
28 android:id="@+android:id/select_dialog_listview"
29 android:layout_width="match_parent"
30 android:layout_height="match_parent"
31 android:layout_marginTop="5px"
32 android:cacheColorHint="@null"
33 android:divider="?android:attr/listDividerAlertDialog"
34 android:scrollbars="vertical"
35 android:overScrollMode="ifContentScrolls"
36 android:textAlignment="viewStart" />