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="40" 39 android:viewportWidth="40"> 40 <path 41 android:pathData="M21.038,29.957L21.037,29.957C18.142,30.151 15.215,29.12 13.091,26.884C10.971,24.66 10.135,21.715 10.521,18.888C10.665,17.854 9.598,17.109 8.657,17.514C1.331,20.656 -0.137,30.458 6.315,35.414C11.457,39.369 19.201,37.749 22.301,31.891C22.792,30.977 22.069,29.894 21.038,29.957ZM6.8,32.67C3.415,29.108 4.024,23.381 8.072,20.528C8.144,23.46 9.282,26.313 11.361,28.5C13.439,30.686 16.252,32.005 19.227,32.276C16.029,36.048 10.175,36.235 6.8,32.67Z" 42 android:fillColor="@color/theme_toggle_button_foreground" 43 android:fillType="evenOdd"/> 44 <path 45 android:pathData="M15.701,1.087L17.464,5.702L15.023,6.618L13.277,1.965L15.701,1.087Z" 46 android:fillColor="@color/theme_toggle_button_foreground" 47 android:fillType="evenOdd"/> 48 <path 49 android:pathData="M23.789,0.393L26.333,0.786L25.575,5.688L23.031,5.295L23.789,0.393Z" 50 android:fillColor="@color/theme_toggle_button_foreground" 51 android:fillType="evenOdd"/> 52 <path 53 android:pathData="M33.399,4.347L35.243,6.148L31.729,9.662L29.885,7.819L33.399,4.347Z" 54 android:fillColor="@color/theme_toggle_button_foreground" 55 android:fillType="evenOdd"/> 56 <path 57 android:pathData="M39,13.299L39.647,15.791L34.846,17.038L34.199,14.547L39,13.299Z" 58 android:fillColor="@color/theme_toggle_button_foreground" 59 android:fillType="evenOdd"/> 60 <path 61 android:pathData="M39.181,23.69L38.258,26.097L33.639,24.264L34.6,21.841L39.181,23.69Z" 62 android:fillColor="@color/theme_toggle_button_foreground" 63 android:fillType="evenOdd"/> 64 <path 65 android:pathData="M16.792,8.79C18.089,8.227 19.519,7.916 21.021,7.916C26.895,7.916 31.656,12.677 31.656,18.55C31.656,20.053 31.344,21.483 30.782,22.779C30.435,23.58 29.408,23.686 28.807,23.084C28.392,22.67 28.312,22.042 28.522,21.507C28.883,20.592 29.082,19.594 29.082,18.55C29.082,14.099 25.473,10.49 21.021,10.49C19.978,10.49 18.98,10.688 18.065,11.049C17.53,11.26 16.902,11.179 16.487,10.765C15.886,10.163 15.992,9.137 16.792,8.79Z" 66 android:fillColor="@color/theme_toggle_button_foreground" 67 android:fillType="evenOdd"/> 68 <path 69 android:pathData="M4.996,5.371C5.55,4.816 6.449,4.816 7.004,5.371L35.647,34.015C36.202,34.569 36.202,35.468 35.647,36.022C35.093,36.577 34.194,36.577 33.64,36.022L4.996,7.378C4.442,6.824 4.442,5.925 4.996,5.371Z" 70 android:fillColor="@color/theme_toggle_button_foreground" 71 android:fillType="evenOdd"/> 72 </vector> 73 </item> 74</layer-list> 75