1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2024 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<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 19 <item android:id="@android:id/background" 20 android:width="@dimen/theme_toggle_button_size" 21 android:height="@dimen/theme_toggle_button_size"> 22 <shape android:shape="rectangle"> 23 <solid android:color="@color/theme_toggle_button_background" /> 24 <corners android:radius="@dimen/theme_toggle_button_radius" /> 25 </shape> 26 </item> 27 <item android:width="@dimen/theme_toggle_button_size" 28 android:height="@dimen/theme_toggle_button_size" 29 android:drawable="@drawable/theme_toggle_button_rotary_background"/> 30 <item 31 android:start="@dimen/theme_toggle_button_foreground_icon_inset" 32 android:top="@dimen/theme_toggle_button_foreground_icon_inset" 33 android:end="@dimen/theme_toggle_button_foreground_icon_inset" 34 android:bottom="@dimen/theme_toggle_button_foreground_icon_inset"> 35 <vector 36 android:width="@dimen/icon_size" 37 android:height="@dimen/icon_size" 38 android:viewportHeight="48.0" 39 android:viewportWidth="48.0"> 40 <path 41 android:fillColor="@color/theme_toggle_button_foreground" 42 android:pathData="M24,42Q16.5,42 11.25,36.75Q6,31.5 6,24Q6,16.5 11.25,11.25Q16.5,6 24,6Q24.4,6 24.85,6.025Q25.3,6.05 26,6.1Q24.2,7.7 23.2,10.05Q22.2,12.4 22.2,15Q22.2,19.5 25.35,22.65Q28.5,25.8 33,25.8Q35.6,25.8 37.95,24.875Q40.3,23.95 41.9,22.3Q41.95,22.9 41.975,23.275Q42,23.65 42,24Q42,31.5 36.75,36.75Q31.5,42 24,42ZM24,39Q29.45,39 33.5,35.625Q37.55,32.25 38.55,27.7Q37.3,28.25 35.875,28.525Q34.45,28.8 33,28.8Q27.25,28.8 23.225,24.775Q19.2,20.75 19.2,15Q19.2,13.8 19.45,12.425Q19.7,11.05 20.35,9.3Q15.45,10.65 12.225,14.775Q9,18.9 9,24Q9,30.25 13.375,34.625Q17.75,39 24,39ZM23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Q23.8,24.15 23.8,24.15Z"/> 43 </vector> 44 </item> 45</layer-list> 46