OSDN Git Service

Treat mode_default as denied for install_unknown_apps
[android-x86/packages-apps-Settings.git] / res / layout / redaction_interstitial.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3     Copyright (C) 2015 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 <com.android.setupwizardlib.GlifLayout
19     xmlns:android="http://schemas.android.com/apk/res/android"
20     xmlns:settings="http://schemas.android.com/apk/res-auto"
21     android:id="@+id/setup_wizard_layout"
22     android:layout_width="match_parent"
23     android:layout_height="match_parent"
24     android:icon="@drawable/ic_suggested_notifications"
25     settings:suwFooter="@layout/redaction_interstitial_footer"
26     settings:suwHeaderText="@string/lock_screen_notifications_interstitial_title">
27
28     <LinearLayout
29         style="@style/SuwContentFrame"
30         android:layout_width="match_parent"
31         android:layout_height="match_parent"
32         android:clipChildren="false"
33         android:clipToPadding="false"
34         android:orientation="vertical">
35
36         <TextView
37             android:id="@+id/message"
38             style="@style/SuwDescription.Glif"
39             android:layout_width="match_parent"
40             android:layout_height="wrap_content"
41             android:text="@string/lock_screen_notifications_interstitial_message" />
42
43         <RadioGroup
44             android:id="@+id/radio_group"
45             android:layout_width="match_parent"
46             android:layout_height="wrap_content"
47             android:layout_marginTop="@dimen/redaction_vertical_margins"
48             android:checkedButton="@+id/redact_sensitive">
49
50             <com.android.settings.RestrictedRadioButton
51                 android:id="@+id/show_all"
52                 style="@style/SuwRadioButton"
53                 android:layout_width="wrap_content"
54                 android:layout_height="wrap_content"
55                 android:layout_marginBottom="0dp"
56                 android:minHeight="?android:attr/listPreferredItemHeight"
57                 android:text="@string/lock_screen_notifications_summary_show" />
58
59             <com.android.settings.RestrictedRadioButton
60                 android:id="@+id/redact_sensitive"
61                 style="@style/SuwRadioButton"
62                 android:layout_width="wrap_content"
63                 android:layout_height="wrap_content"
64                 android:layout_marginBottom="0dp"
65                 android:minHeight="?android:attr/listPreferredItemHeight"
66                 android:text="@string/lock_screen_notifications_summary_hide" />
67
68             <RadioButton
69                 android:id="@+id/hide_all"
70                 style="@style/SuwRadioButton"
71                 android:layout_width="wrap_content"
72                 android:layout_height="wrap_content"
73                 android:layout_marginBottom="0dp"
74                 android:minHeight="?android:attr/listPreferredItemHeight"
75                 android:text="@string/lock_screen_notifications_summary_disable" />
76
77         </RadioGroup>
78
79     </LinearLayout>
80
81 </com.android.setupwizardlib.GlifLayout>