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