58 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="utf-8"?>
 | 
						|
<!-- Copyright (C) 2019 The Android Open Source Project
 | 
						|
 | 
						|
     Licensed under the Apache License, Version 2.0 (the "License");
 | 
						|
     you may not use this file except in compliance with the License.
 | 
						|
     You may obtain a copy of the License at
 | 
						|
 | 
						|
          http://www.apache.org/licenses/LICENSE-2.0
 | 
						|
 | 
						|
     Unless required by applicable law or agreed to in writing, software
 | 
						|
     distributed under the License is distributed on an "AS IS" BASIS,
 | 
						|
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
						|
     See the License for the specific language governing permissions and
 | 
						|
     limitations under the License.
 | 
						|
-->
 | 
						|
 | 
						|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
 | 
						|
                  xmlns:settings="http://schemas.android.com/apk/res-auto"
 | 
						|
                  android:title="@string/gentle_notifications_title"
 | 
						|
                  android:key="gentle_notification_settings">
 | 
						|
 | 
						|
        <com.android.settingslib.widget.LayoutPreference
 | 
						|
            android:key="gentle_notifications_drawable"
 | 
						|
            android:title="@string/summary_placeholder"
 | 
						|
            android:layout="@layout/drawable_layout"
 | 
						|
            settings:controller="com.android.settings.notification.GentleDrawablePreferenceController"
 | 
						|
            android:selectable="false"
 | 
						|
            android:order="1"
 | 
						|
            settings:allowDividerBelow="true"
 | 
						|
            android:persistent="false" />
 | 
						|
 | 
						|
        <Preference
 | 
						|
            android:key="gentle_notifications_footer"
 | 
						|
            android:title="@string/gentle_notifications_education"
 | 
						|
            android:order="2"
 | 
						|
            android:icon="@drawable/ic_info_outline_24"
 | 
						|
            style="?attr/footerPreferenceStyle"
 | 
						|
            settings:allowDividerAbove="true"
 | 
						|
            android:clickable="false"
 | 
						|
            android:selectable="false" />
 | 
						|
 | 
						|
        <PreferenceCategory
 | 
						|
            android:key="gentle_notifications_settings"
 | 
						|
            android:title="@string/gentle_notifications_also_display"
 | 
						|
            android:order="3">
 | 
						|
                <SwitchPreference
 | 
						|
                    android:key="silent_icons"
 | 
						|
                    android:title="@string/gentle_notifications_display_status"
 | 
						|
                    settings:controller="com.android.settings.notification.SilentStatusBarPreferenceController" />
 | 
						|
 | 
						|
                <SwitchPreference
 | 
						|
                    android:key="lock_screen"
 | 
						|
                    android:title="@string/gentle_notifications_display_lock"
 | 
						|
                    settings:controller="com.android.settings.notification.SilentLockscreenPreferenceController" />
 | 
						|
        </PreferenceCategory>
 | 
						|
 | 
						|
</PreferenceScreen>
 |