Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2016 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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:id="@+id/scrollView"
     20     android:layout_width="match_parent"
     21     android:layout_height="wrap_content"
     22     android:clipToPadding="false">
     23 
     24     <LinearLayout
     25         android:layout_width="match_parent"
     26         android:layout_height="wrap_content"
     27         android:paddingTop="?android:attr/dialogPreferredPadding"
     28         android:paddingRight="?android:attr/dialogPreferredPadding"
     29         android:paddingLeft="?android:attr/dialogPreferredPadding"
     30         android:orientation="vertical">
     31         <LinearLayout
     32             android:id="@+id/device_management_disclosures"
     33             android:layout_width="match_parent"
     34             android:layout_height="wrap_content"
     35             android:paddingBottom="?android:attr/dialogPreferredPadding"
     36             android:orientation="vertical">
     37             <TextView
     38                 android:id="@+id/device_management_subtitle"
     39                 android:layout_width="match_parent"
     40                 android:layout_height="wrap_content"
     41                 android:text="@string/monitoring_title_device_owned"
     42                 style="@style/DeviceManagementDialogTitle"
     43                 android:paddingBottom="@dimen/qs_footer_dialog_subtitle_padding"
     44             />
     45             <TextView
     46                 android:id="@+id/device_management_warning"
     47                 android:layout_width="match_parent"
     48                 android:layout_height="wrap_content"
     49                 android:textAppearance="@style/TextAppearance.DeviceManagementDialog.Content"
     50             />
     51         </LinearLayout>
     52 
     53         <LinearLayout
     54             android:id="@+id/ca_certs_disclosures"
     55             android:layout_width="match_parent"
     56             android:layout_height="wrap_content"
     57             android:paddingBottom="?android:attr/dialogPreferredPadding"
     58             android:orientation="vertical">
     59             <TextView
     60                 android:id="@+id/ca_certs_subtitle"
     61                 android:layout_width="match_parent"
     62                 android:layout_height="wrap_content"
     63                 android:text="@string/monitoring_subtitle_ca_certificate"
     64                 style="@style/DeviceManagementDialogTitle"
     65                 android:paddingBottom="@dimen/qs_footer_dialog_subtitle_padding"
     66             />
     67             <TextView
     68                 android:id="@+id/ca_certs_warning"
     69                 android:layout_width="match_parent"
     70                 android:layout_height="wrap_content"
     71                 android:textAppearance="@style/TextAppearance.DeviceManagementDialog.Content"
     72             />
     73         </LinearLayout>
     74 
     75         <LinearLayout
     76             android:id="@+id/network_logging_disclosures"
     77             android:layout_width="match_parent"
     78             android:layout_height="wrap_content"
     79             android:paddingBottom="?android:attr/dialogPreferredPadding"
     80             android:orientation="vertical">
     81             <TextView
     82                 android:id="@+id/network_logging_subtitle"
     83                 android:layout_width="match_parent"
     84                 android:layout_height="wrap_content"
     85                 android:text="@string/monitoring_subtitle_network_logging"
     86                 style="@style/DeviceManagementDialogTitle"
     87                 android:paddingBottom="@dimen/qs_footer_dialog_subtitle_padding"
     88             />
     89             <TextView
     90                 android:id="@+id/network_logging_warning"
     91                 android:layout_width="match_parent"
     92                 android:layout_height="wrap_content"
     93                 android:textAppearance="@style/TextAppearance.DeviceManagementDialog.Content"
     94             />
     95         </LinearLayout>
     96 
     97         <LinearLayout
     98             android:id="@+id/vpn_disclosures"
     99             android:layout_width="match_parent"
    100             android:layout_height="wrap_content"
    101             android:paddingBottom="?android:attr/dialogPreferredPadding"
    102             android:orientation="vertical">
    103             <TextView
    104                 android:id="@+id/vpn_subtitle"
    105                 android:layout_width="match_parent"
    106                 android:layout_height="wrap_content"
    107                 android:text="@string/monitoring_subtitle_vpn"
    108                 style="@style/DeviceManagementDialogTitle"
    109                 android:paddingBottom="@dimen/qs_footer_dialog_subtitle_padding"
    110             />
    111             <TextView
    112                 android:id="@+id/vpn_warning"
    113                 android:layout_width="match_parent"
    114                 android:layout_height="wrap_content"
    115                 android:textAppearance="@style/TextAppearance.DeviceManagementDialog.Content"
    116             />
    117         </LinearLayout>
    118     </LinearLayout>
    119 </ScrollView>
    120