1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2013 The Android Open Source Project 3 4Licensed under the Apache License, Version 2.0 (the "License"); 5you may not use this file except in compliance with the License. 6You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10Unless required by applicable law or agreed to in writing, software 11distributed under the License is distributed on an "AS IS" BASIS, 12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13See the License for the specific language governing permissions and 14limitations under the License. 15--> 16<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 17 android:layout_width="match_parent" 18 android:layout_height="match_parent"> 19 <LinearLayout android:orientation="vertical" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:layout_margin="20dp"> 23 24 <TextView android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:layout_marginBottom="10dp" 27 android:textSize="18sp" 28 android:text="@string/sample_app_description"/> 29 30 <LinearLayout android:orientation="horizontal" 31 android:layout_width="match_parent" 32 android:layout_height="wrap_content" 33 android:layout_marginBottom="15dp"> 34 <CheckBox android:id="@+id/custom_app_limits" 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 android:onClick="onCustomClicked"/> 38 <TextView android:layout_width="0dp" 39 android:layout_height="wrap_content" 40 android:textSize="18sp" 41 android:text="@string/custom_description" 42 android:onClick="onCustomClicked" 43 android:layout_weight="1"/> 44 </LinearLayout> 45 46 <!-- Separator --> 47 <View android:layout_height="1dp" 48 android:background="@android:color/white" 49 android:layout_width="match_parent" 50 android:layout_margin="25dp"/> 51 52 <!-- Section to show app restriction settings under a restricted profile. --> 53 <TextView android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:textSize="20sp" 56 android:text="@string/current_app_limits_label"/> 57 <TextView android:layout_width="wrap_content" 58 android:layout_height="wrap_content" 59 android:textSize="18sp" 60 android:layout_marginBottom="10dp" 61 android:text="@string/current_app_limits_description"/> 62 63 <LinearLayout android:orientation="horizontal" 64 android:layout_width="match_parent" 65 android:layout_height="wrap_content" 66 android:layout_marginStart="20dp"> 67 <TextView android:layout_width="210dp" 68 android:layout_height="wrap_content" 69 android:textSize="18sp" 70 android:text="@string/boolean_entry_title"/> 71 <Space android:layout_height="1dp" 72 android:layout_width="15dp"/> 73 <TextView android:id="@+id/boolean_entry_id" 74 android:layout_width="wrap_content" 75 android:layout_height="wrap_content" 76 android:textSize="18sp" 77 android:text="@string/boolean_entry_title"/> 78 </LinearLayout> 79 80 <LinearLayout android:orientation="horizontal" 81 android:layout_width="match_parent" 82 android:layout_height="wrap_content" 83 android:layout_marginStart="20dp"> 84 <TextView android:layout_width="210dp" 85 android:layout_height="wrap_content" 86 android:textSize="18sp" 87 android:text="@string/choice_entry_title"/> 88 <Space android:layout_height="1dp" 89 android:layout_width="15dp"/> 90 <TextView android:id="@+id/choice_entry_id" 91 android:layout_width="wrap_content" 92 android:layout_height="wrap_content" 93 android:textSize="18sp" 94 android:text="@string/boolean_entry_title"/> 95 </LinearLayout> 96 97 <LinearLayout android:orientation="horizontal" 98 android:layout_width="match_parent" 99 android:layout_height="wrap_content" 100 android:layout_marginStart="20dp"> 101 <TextView android:layout_width="210dp" 102 android:layout_height="wrap_content" 103 android:textSize="18sp" 104 android:text="@string/multi_entry_title"/> 105 <Space android:layout_height="1dp" 106 android:layout_width="15dp"/> 107 <TextView android:id="@+id/multi_entry_id" 108 android:layout_width="wrap_content" 109 android:layout_height="wrap_content" 110 android:textSize="18sp" 111 android:text="@string/multi_entry_title"/> 112 </LinearLayout> 113 </LinearLayout> 114</ScrollView>