• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright (C) 2019 The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="wrap_content"
21    android:layout_height="wrap_content"
22    android:paddingTop="@dimen/delete_profile_dialog_padding_top"
23    android:paddingLeft="@dimen/delete_profile_dialog_padding_left_right"
24    android:paddingRight="@dimen/delete_profile_dialog_padding_left_right"
25    android:fadeScrollbars="false" >
26
27    <LinearLayout
28        android:layout_width="match_parent"
29        android:layout_height="wrap_content"
30        android:orientation="vertical" >
31
32        <TextView
33            android:id="@+id/delete_managed_profile_opening_paragraph"
34            android:layout_width="match_parent"
35            android:layout_height="wrap_content"
36            android:text="@string/opening_paragraph_delete_profile_unknown_company"
37            style="@style/TextAppearance.RemoveDialogContent" />
38
39        <LinearLayout
40            android:layout_width="wrap_content"
41            android:layout_height="@dimen/mdm_app_info_height"
42            android:layout_alignParentLeft="true"
43            android:layout_centerInParent="true"
44            android:layout_gravity="center_vertical|start"
45            android:orientation="horizontal"
46            android:paddingBottom="@dimen/mdm_app_info_padding_top_bottom"
47            android:paddingTop="@dimen/mdm_app_info_padding_top_bottom" >
48
49            <ImageView
50                android:id="@+id/delete_managed_profile_mdm_icon_view"
51                android:layout_width="@dimen/mdm_app_icon_width_height"
52                android:layout_height="@dimen/mdm_app_icon_width_height"
53                android:scaleType="centerInside"
54                android:gravity="center_vertical" />
55
56            <TextView
57                android:id="@+id/delete_managed_profile_device_manager_name"
58                android:layout_width="wrap_content"
59                android:layout_height="match_parent"
60                android:gravity="center_vertical"
61                android:paddingStart="@dimen/mdm_app_name_padding_left"
62                style="@style/TextAppearance.RemoveDialogContent" />
63        </LinearLayout>
64
65        <TextView
66            android:id="@+id/delete_managed_profile_closing_paragraph"
67            android:layout_width="match_parent"
68            android:layout_height="wrap_content"
69            android:text="@string/work_profile_confirm_remove_message"
70            style="@style/TextAppearance.RemoveDialogContent" />
71    </LinearLayout>
72
73</ScrollView>