1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2020 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:gravity="center" 22 android:orientation="vertical" 23 android:padding="@dimen/notification_importance_toggle_marginTop"> 24 25 <!-- If bubbles is managed by the admin this is used to inform the user. --> 26 <TextView 27 android:id="@android:id/summary" 28 android:layout_width="wrap_content" 29 android:layout_height="wrap_content" 30 android:padding="@dimen/notification_importance_button_padding" 31 android:textAppearance="@style/TextAppearance.Small" 32 android:visibility="gone" /> 33 34 <RadioGroup 35 android:id="@+id/radio_group" 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content" 38 android:checkedButton="@+id/redact_sensitive"> 39 40 <RadioButton 41 android:id="@+id/bubble_all" 42 style="@style/SudRadioButton" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:layout_marginVertical="0dp" 46 android:fontFamily="@*android:string/config_headlineFontFamily" 47 android:minHeight="56dp" 48 android:text="@string/bubble_app_setting_all" 49 android:textColor="?android:attr/textColorSecondary" /> 50 51 <RadioButton 52 android:id="@+id/bubble_selected" 53 style="@style/SudRadioButton" 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 android:layout_marginVertical="0dp" 57 android:fontFamily="@*android:string/config_headlineFontFamily" 58 android:minHeight="56dp" 59 android:text="@string/bubble_app_setting_selected" 60 android:textColor="?android:attr/textColorSecondary" /> 61 62 <RadioButton 63 android:id="@+id/bubble_none" 64 style="@style/SudRadioButton" 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:layout_marginVertical="0dp" 68 android:fontFamily="@*android:string/config_headlineFontFamily" 69 android:minHeight="56dp" 70 android:text="@string/bubble_app_setting_none" 71 android:textColor="?android:attr/textColorSecondary" /> 72 </RadioGroup> 73</LinearLayout> 74