1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2019 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.google.android.setupdesign.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:sucHeaderText="@string/lock_screen_notifications_interstitial_title"> 26 27 <LinearLayout 28 style="@style/SudContentFrame" 29 android:layout_width="match_parent" 30 android:layout_height="match_parent" 31 android:clipChildren="false" 32 android:clipToPadding="false" 33 android:orientation="vertical"> 34 35 <TextView 36 android:id="@+id/message" 37 style="@style/SudDescription.Glif" 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:text="@string/lock_screen_notifications_interstitial_message" /> 41 42 <RadioGroup 43 android:id="@+id/radio_group" 44 android:layout_width="match_parent" 45 android:layout_height="wrap_content" 46 android:layout_marginTop="@dimen/redaction_vertical_margins" 47 android:checkedButton="@+id/redact_sensitive"> 48 49 <com.android.car.developeroptions.RestrictedRadioButton 50 android:id="@+id/show_all" 51 style="@style/SudRadioButton" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:layout_marginBottom="0dp" 55 android:minHeight="?android:attr/listPreferredItemHeight" 56 android:text="@string/lock_screen_notifications_summary_show" /> 57 58 <com.android.car.developeroptions.RestrictedRadioButton 59 android:id="@+id/redact_sensitive" 60 style="@style/SudRadioButton" 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 android:layout_marginBottom="0dp" 64 android:minHeight="?android:attr/listPreferredItemHeight" 65 android:text="@string/lock_screen_notifications_summary_hide" /> 66 67 <RadioButton 68 android:id="@+id/hide_all" 69 style="@style/SudRadioButton" 70 android:layout_width="wrap_content" 71 android:layout_height="wrap_content" 72 android:layout_marginBottom="0dp" 73 android:minHeight="?android:attr/listPreferredItemHeight" 74 android:text="@string/lock_screen_notifications_summary_disable" /> 75 76 </RadioGroup> 77 78 </LinearLayout> 79 80</com.google.android.setupdesign.GlifLayout> 81