1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17        android:layout_width="wrap_content"
18        android:layout_height="wrap_content"
19        android:padding="@dimen/admin_details_dialog_padding"
20        android:orientation="vertical">
21    <LinearLayout
22            android:layout_width="match_parent"
23            android:layout_height="wrap_content"
24            android:orientation="horizontal"
25            android:gravity="center_vertical"
26            android:paddingBottom="@dimen/admin_details_dialog_title_bottom_padding">
27        <ImageView android:id="@+id/admin_support_icon"
28                android:layout_width="@dimen/admin_details_dialog_icon_size"
29                android:layout_height="@dimen/admin_details_dialog_icon_size"
30                android:scaleType="fitCenter"
31                android:contentDescription="@null" />
32        <TextView android:id="@+id/admin_support_dialog_title"
33                android:layout_width="wrap_content"
34                android:layout_height="wrap_content"
35                android:paddingStart="@dimen/admin_details_dialog_padding"
36                android:text="@string/disabled_by_policy_title"
37                android:textAppearance="@style/TextAppearance.HeadLineFontFamily"/>
38    </LinearLayout>
39
40    <ScrollView
41            android:layout_width="match_parent"
42            android:layout_height="wrap_content"
43            android:fadeScrollbars="false">
44        <LinearLayout
45                android:layout_width="match_parent"
46                android:layout_height="wrap_content"
47                android:orientation="vertical">
48            <TextView android:id="@+id/admin_support_msg"
49                      android:layout_width="match_parent"
50                      android:layout_height="wrap_content"
51                      android:textAppearance="@style/TextAppearance.HeadLineFontFamily.Subhead"
52                      android:text="@string/default_admin_support_msg"
53                      android:maxLength="200"
54                      android:autoLink="email|phone|web"
55                      android:textColor="?android:attr/textColorSecondary"/>
56        </LinearLayout>
57    </ScrollView>
58</LinearLayout>
59