1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 Copyright (C)
2015 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.
18 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
19 android:
id=
"@+id/parentPanel"
20 android:
layout_width=
"match_parent"
21 android:
layout_height=
"wrap_content"
22 android:
orientation=
"vertical">
25 android:
id=
"@+id/topPanel"
26 android:
layout_width=
"match_parent"
27 android:
layout_height=
"wrap_content"
28 android:
orientation=
"vertical">
31 android:
id=
"@+id/title_template"
32 android:
layout_width=
"match_parent"
33 android:
layout_height=
"wrap_content"
34 android:
orientation=
"horizontal"
35 android:
gravity=
"center_vertical"
36 android:
paddingLeft=
"?attr/dialogPreferredPadding"
37 android:
paddingRight=
"?attr/dialogPreferredPadding"
38 android:
paddingTop=
"@dimen/abc_dialog_padding_top_material">
41 android:
id=
"@android:id/icon"
42 android:
layout_width=
"32dip"
43 android:
layout_height=
"32dip"
44 android:
scaleType=
"fitCenter"
46 style=
"@style/RtlOverlay.Widget.AppCompat.DialogTitle.Icon"/>
48 <android.support.v7.widget.DialogTitle
49 android:
id=
"@+id/alertTitle"
50 style=
"?attr/android:windowTitleStyle"
51 android:
singleLine=
"true"
52 android:
ellipsize=
"end"
53 android:
layout_width=
"match_parent"
54 android:
layout_height=
"wrap_content"
55 android:
textAlignment=
"viewStart" />
58 <!-- If the client uses a customTitle, it will be added here. --
>
62 android:
id=
"@+id/contentPanel"
63 android:
layout_width=
"match_parent"
64 android:
layout_height=
"wrap_content"
65 android:
layout_weight=
"1"
66 android:
minHeight=
"48dp">
68 <View android:
id=
"@+id/scrollIndicatorUp"
69 android:
visibility=
"gone"
70 android:
layout_width=
"match_parent"
71 android:
layout_height=
"1dp"
72 android:
layout_gravity=
"top"
73 android:
background=
"?attr/colorControlHighlight"/>
75 <android.support.v4.widget.NestedScrollView
76 android:
id=
"@+id/scrollView"
77 android:
layout_width=
"match_parent"
78 android:
layout_height=
"wrap_content"
79 android:
clipToPadding=
"false">
82 android:
layout_width=
"match_parent"
83 android:
layout_height=
"wrap_content"
84 android:
orientation=
"vertical">
87 android:
id=
"@android:id/message"
88 style=
"@style/TextAppearance.AppCompat.Subhead"
89 android:
layout_width=
"match_parent"
90 android:
layout_height=
"wrap_content"
91 android:
paddingLeft=
"?attr/dialogPreferredPadding"
92 android:
paddingTop=
"@dimen/abc_dialog_padding_top_material"
93 android:
paddingRight=
"?attr/dialogPreferredPadding"/>
96 android:
id=
"@+id/textSpacerNoButtons"
97 android:
visibility=
"gone"
98 android:
layout_width=
"0dp"
99 android:
layout_height=
"@dimen/abc_dialog_padding_top_material"/>
101 </android.support.v4.widget.NestedScrollView
>
103 <View android:
id=
"@+id/scrollIndicatorDown"
104 android:
visibility=
"gone"
105 android:
layout_width=
"match_parent"
106 android:
layout_height=
"1dp"
107 android:
layout_gravity=
"bottom"
108 android:
background=
"?attr/colorControlHighlight"/>
113 android:
id=
"@+id/customPanel"
114 android:
layout_width=
"match_parent"
115 android:
layout_height=
"wrap_content"
116 android:
layout_weight=
"1"
117 android:
minHeight=
"48dp">
120 android:
id=
"@+id/custom"
121 android:
layout_width=
"match_parent"
122 android:
layout_height=
"wrap_content"/>
125 <include layout=
"@layout/abc_alert_dialog_button_bar_material" />
127 </LinearLayout><!-- From: file:/usr/local/google/buildbot/src/googleplex-android/mnc-supportlib-release/frameworks/support/v7/appcompat/res/layout/abc_alert_dialog_material.xml --
>