1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2014 The Android Open Source Project
4
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
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
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-->
17
18<com.android.packageinstaller.AlertDialogLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/parentPanel"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content"
23    android:gravity="start|top"
24    android:orientation="vertical">
25
26    <include layout="@layout/alert_dialog_title_material" />
27
28    <FrameLayout
29        android:id="@+id/contentPanel"
30        android:layout_width="match_parent"
31        android:layout_height="wrap_content"
32        android:minHeight="48dp">
33
34        <ScrollView
35            android:id="@+id/scrollView"
36            android:layout_width="match_parent"
37            android:layout_height="wrap_content"
38            android:clipToPadding="false">
39
40            <LinearLayout
41                android:layout_width="match_parent"
42                android:layout_height="wrap_content"
43                android:orientation="vertical">
44
45                <Space
46                    android:id="@+id/textSpacerNoTitle"
47                    android:visibility="gone"
48                    android:layout_width="match_parent"
49                    android:layout_height="@dimen/dialog_padding_top_material" />
50
51                <TextView
52                    android:id="@+id/message"
53                    android:layout_width="match_parent"
54                    android:layout_height="wrap_content"
55                    android:paddingEnd="?android:attr/dialogPreferredPadding"
56                    android:paddingStart="?android:attr/dialogPreferredPadding"
57                    style="@android:style/TextAppearance.Material.Subhead" />
58
59                <Space
60                    android:id="@+id/textSpacerNoButtons"
61                    android:visibility="gone"
62                    android:layout_width="match_parent"
63                    android:layout_height="@dimen/dialog_padding_top_material" />
64            </LinearLayout>
65        </ScrollView>
66    </FrameLayout>
67
68    <FrameLayout
69        android:id="@+id/customPanel"
70        android:layout_width="match_parent"
71        android:layout_height="wrap_content"
72        android:minHeight="48dp">
73
74        <FrameLayout
75            android:id="@+id/custom"
76            android:layout_width="match_parent"
77            android:layout_height="wrap_content" />
78    </FrameLayout>
79
80    <include
81        android:layout_width="match_parent"
82        android:layout_height="wrap_content"
83        layout="@layout/alert_dialog_button_bar_material" />
84</com.android.packageinstaller.AlertDialogLayout>
85