• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright (C) 2014 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
20<LinearLayout
21    xmlns:android="http://schemas.android.com/apk/res/android"
22    android:id="@+id/main_text_container"
23    style="@style/MainTextContainer">
24    <ScrollView
25        android:layout_weight="1"
26        android:layout_height="0dp"
27        style="@style/ScrollView">
28        <LinearLayout
29            android:layout_height="wrap_content"
30            android:layout_width="fill_parent"
31            android:orientation="vertical">
32            <TextView
33                android:text="@string/company_controls_workspace"
34                style="@style/MainText"/>
35            <TextView
36                android:text="@string/the_following_is_your_mdm"
37                style="@style/MainText"/>
38            <LinearLayout
39                android:layout_width="wrap_content"
40                android:layout_height="@dimen/row_height"
41                android:paddingTop="@dimen/row_padding_top"
42                android:layout_alignParentLeft="true"
43                android:layout_centerInParent="true"
44                android:layout_gravity="center_vertical">
45                <ImageView
46                    android:id="@+id/mdm_icon_view"
47                    android:layout_width="@dimen/icon_width_height"
48                    android:layout_height="@dimen/icon_width_height"
49                    android:scaleType="center"/>
50                <TextView
51                    android:id="@+id/device_manager_name"
52                    android:layout_width="wrap_content"
53                    android:layout_height="fill_parent"
54                    android:paddingLeft="@dimen/main_text_padding_left_right"
55                    android:gravity="center_vertical"
56                    android:textColor="@color/text_black"
57                    android:textSize="@dimen/main_text_size"/>
58            </LinearLayout>
59        </LinearLayout>
60    </ScrollView>
61    <RelativeLayout
62        android:layout_width="fill_parent"
63        android:layout_height="@dimen/row_height"
64        android:paddingTop="@dimen/row_padding_top">
65        <Button
66            android:id="@+id/positive_button"
67            android:layout_alignParentRight="true"
68            android:layout_alignParentBottom="true"
69            android:text="@string/set_up"
70            style="@style/ColoredButton" />
71    </RelativeLayout>
72</LinearLayout>
73