OSDN Git Service

[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent...
[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_lock"
25     settings:suwHeaderText="@string/lock_screen_notifications_interstitial_title">
26
27     <LinearLayout
28         style="@style/SuwContentFrame"
29         android:layout_width="match_parent"
30         android:layout_height="match_parent"
31         android:orientation="vertical">
32
33         <TextView
34             android:id="@+id/message"
35             style="@style/SuwDescription.Glif"
36             android:layout_width="match_parent"
37             android:layout_height="wrap_content"
38             android:text="@string/lock_screen_notifications_interstitial_message" />
39
40         <RadioGroup
41             android:id="@+id/radio_group"
42             android:layout_width="match_parent"
43             android:layout_height="wrap_content"
44             android:layout_marginTop="@dimen/redaction_vertical_margins"
45             android:checkedButton="@+id/redact_sensitive">
46
47             <com.android.settings.RestrictedRadioButton
48                 android:id="@+id/show_all"
49                 style="@style/SuwRadioButton"
50                 android:layout_width="wrap_content"
51                 android:layout_height="wrap_content"
52                 android:text="@string/lock_screen_notifications_summary_show" />
53
54             <com.android.settings.RestrictedRadioButton
55                 android:id="@+id/redact_sensitive"
56                 style="@style/SuwRadioButton"
57                 android:layout_width="wrap_content"
58                 android:layout_height="wrap_content"
59                 android:text="@string/lock_screen_notifications_summary_hide" />
60
61             <RadioButton
62                 android:id="@+id/hide_all"
63                 style="@style/SuwRadioButton"
64                 android:layout_width="wrap_content"
65                 android:layout_height="wrap_content"
66                 android:text="@string/lock_screen_notifications_summary_disable" />
67
68         </RadioGroup>
69
70         <Button
71             android:id="@+id/redaction_done_button"
72             style="@style/SetupWizardButton.Positive"
73             android:layout_width="wrap_content"
74             android:layout_height="wrap_content"
75             android:layout_gravity="end"
76             android:text="@string/app_notifications_dialog_done" />
77
78     </LinearLayout>
79
80 </com.android.setupwizardlib.GlifLayout>