* Switch is always visible, even without a configuration activity * Custom icon, title, and summary for some mode types (such as SCHEDULE_TIME, etc). * Default texts in case of missing trigger description. * Different icons for having/missing configuration activity. * Move the section to the top of the screen. Bug: 349376785 Test: atest ZenModeTriggerLinkPreferenceControllerTest Flag: android.app.modes_ui Change-Id: I960318899cf4da20ffc5765818429d5790d05067
		
			
				
	
	
		
			26 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<!--
 | 
						|
Copyright (C) 2024 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.
 | 
						|
-->
 | 
						|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
 | 
						|
    android:width="24dp"
 | 
						|
    android:height="24dp"
 | 
						|
    android:tint="?android:attr/colorControlNormal"
 | 
						|
    android:viewportHeight="960"
 | 
						|
    android:viewportWidth="960"
 | 
						|
    android:autoMirrored="true">
 | 
						|
    <path
 | 
						|
        android:fillColor="@android:color/white"
 | 
						|
        android:pathData="M200,840Q167,840 143.5,816.5Q120,793 120,760L120,600L200,600L200,760Q200,760 200,760Q200,760 200,760L760,760Q760,760 760,760Q760,760 760,760L760,200Q760,200 760,200Q760,200 760,200L200,200Q200,200 200,200Q200,200 200,200L200,360L120,360L120,200Q120,167 143.5,143.5Q167,120 200,120L760,120Q793,120 816.5,143.5Q840,167 840,200L840,760Q840,793 816.5,816.5Q793,840 760,840L200,840ZM420,680L364,622L466,520L120,520L120,440L466,440L364,338L420,280L620,480L420,680Z" />
 | 
						|
</vector> |