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="@android:style/TextAppearance.Material.Title"
     43                 android:textColor="?android:attr/textColorPrimary"
     44                 android:paddingBottom="@dimen/qs_footer_dialog_subtitle_padding"
     45             />
     46             <TextView
     47                 android:id="@+id/device_management_warning"
     48                 android:layout_width="match_parent"
     49                 android:layout_height="wrap_content"
     50                 android:text="@null"
     51                 style="@android:style/TextAppearance.Material.Subhead"
     52                 android:textColor="?android:attr/textColorPrimary"
     53             />
     54         </LinearLayout>
     55 
     56         <LinearLayout
     57             android:id="@+id/ca_certs_disclosures"
     58             android:layout_width="match_parent"
     59             android:layout_height="wrap_content"
     60             android:paddingBottom="?android:attr/dialogPreferredPadding"
     61             android:orientation="vertical">
     62             <TextView
     63                 android:id="@+id/ca_certs_subtitle"
     64                 android:layout_width="match_parent"
     65                 android:layout_height="wrap_content"
     66                 android:text="@string/monitoring_subtitle_ca_certificate"
     67                 style="@android:style/TextAppearance.Material.Title"
     68                 android:textColor="?android:attr/textColorPrimary"
     69                 android:paddingBottom="@dimen/qs_footer_dialog_subtitle_padding"
     70             />
     71             <TextView
     72                 android:id="@+id/ca_certs_warning"
     73                 android:layout_width="match_parent"
     74                 android:layout_height="wrap_content"
     75                 android:text="@null"
     76                 style="@android:style/TextAppearance.Material.Subhead"
     77                 android:textColor="?android:attr/textColorPrimary"
     78             />
     79         </LinearLayout>
     80 
     81         <LinearLayout
     82             android:id="@+id/network_logging_disclosures"
     83             android:layout_width="match_parent"
     84             android:layout_height="wrap_content"
     85             android:paddingBottom="?android:attr/dialogPreferredPadding"
     86             android:orientation="vertical">
     87             <TextView
     88                 android:id="@+id/network_logging_subtitle"
     89                 android:layout_width="match_parent"
     90                 android:layout_height="wrap_content"
     91                 android:text="@string/monitoring_subtitle_network_logging"
     92                 style="@android:style/TextAppearance.Material.Title"
     93                 android:textColor="?android:attr/textColorPrimary"
     94                 android:paddingBottom="@dimen/qs_footer_dialog_subtitle_padding"
     95             />
     96             <TextView
     97                 android:id="@+id/network_logging_warning"
     98                 android:layout_width="match_parent"
     99                 android:layout_height="wrap_content"
    100                 android:text="@null"
    101                 style="@android:style/TextAppearance.Material.Subhead"
    102                 android:textColor="?android:attr/textColorPrimary"
    103             />
    104         </LinearLayout>
    105 
    106         <LinearLayout
    107             android:id="@+id/vpn_disclosures"
    108             android:layout_width="match_parent"
    109             android:layout_height="wrap_content"
    110             android:paddingBottom="?android:attr/dialogPreferredPadding"
    111             android:orientation="vertical">
    112             <TextView
    113                 android:id="@+id/vpn_subtitle"
    114                 android:layout_width="match_parent"
    115                 android:layout_height="wrap_content"
    116                 android:text="@string/monitoring_subtitle_vpn"
    117                 style="@android:style/TextAppearance.Material.Title"
    118                 android:textColor="?android:attr/textColorPrimary"
    119                 android:paddingBottom="@dimen/qs_footer_dialog_subtitle_padding"
    120             />
    121             <TextView
    122                 android:id="@+id/vpn_warning"
    123                 android:layout_width="match_parent"
    124                 android:layout_height="wrap_content"
    125                 android:text="@null"
    126                 style="@android:style/TextAppearance.Material.Subhead"
    127                 android:textColor="?android:attr/textColorPrimary"
    128             />
    129         </LinearLayout>
    130     </LinearLayout>
    131 </ScrollView>
    132