Loading packages/SettingsLib/SettingsTheme/res/color-night-v31/settingslib_switch_track_on.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2021 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. --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@android:color/system_accent2_500" android:lStar="51" /> </selector> No newline at end of file packages/SettingsLib/SettingsTheme/res/color-v31/settingslib_switch_thumb_color.xml +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <!-- Disabled status of thumb --> <item android:state_enabled="false" android:color="@color/settingslib_thumb_off_color" /> android:color="@color/settingslib_thumb_disabled_color" /> <!-- Toggle off status of thumb --> <item android:state_checked="false" android:color="@color/settingslib_thumb_off_color" /> Loading packages/SettingsLib/SettingsTheme/res/color-v31/settingslib_switch_track_off.xml 0 → 100644 +19 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2021 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. --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@android:color/system_neutral2_500" android:lStar="45" /> </selector> No newline at end of file packages/SettingsLib/SettingsTheme/res/values-night-v31/colors.xml +5 −2 Original line number Diff line number Diff line Loading @@ -16,11 +16,14 @@ --> <resources> <!-- Material next thumb disable color--> <color name="settingslib_thumb_disabled_color">@android:color/system_neutral1_700</color> <!-- Material next thumb off color--> <color name="settingslib_thumb_off_color">@android:color/system_neutral2_300</color> <color name="settingslib_thumb_off_color">@android:color/system_neutral1_400</color> <!-- Material next track on color--> <color name="settingslib_track_on_color">@android:color/system_accent2_700</color> <color name="settingslib_track_on_color">@color/settingslib_switch_track_on</color> <!-- Material next track off color--> <color name="settingslib_track_off_color">@android:color/system_neutral1_700</color> Loading packages/SettingsLib/SettingsTheme/res/values-v31/colors.xml +5 −2 Original line number Diff line number Diff line Loading @@ -22,14 +22,17 @@ <!-- Material next state off color--> <color name="settingslib_state_off_color">@android:color/system_accent2_100</color> <!-- Material next thumb disable color--> <color name="settingslib_thumb_disabled_color">@android:color/system_neutral2_100</color> <!-- Material next thumb off color--> <color name="settingslib_thumb_off_color">@android:color/system_neutral2_100</color> <color name="settingslib_thumb_off_color">@android:color/system_neutral2_300</color> <!-- Material next track on color--> <color name="settingslib_track_on_color">@android:color/system_accent1_600</color> <!-- Material next track off color--> <color name="settingslib_track_off_color">@android:color/system_neutral2_600</color> <color name="settingslib_track_off_color">@color/settingslib_switch_track_off</color> <!-- Dialog accent color --> <color name="settingslib_dialog_accent">@android:color/system_accent1_600</color> Loading Loading
packages/SettingsLib/SettingsTheme/res/color-night-v31/settingslib_switch_track_on.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2021 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. --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@android:color/system_accent2_500" android:lStar="51" /> </selector> No newline at end of file
packages/SettingsLib/SettingsTheme/res/color-v31/settingslib_switch_thumb_color.xml +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <!-- Disabled status of thumb --> <item android:state_enabled="false" android:color="@color/settingslib_thumb_off_color" /> android:color="@color/settingslib_thumb_disabled_color" /> <!-- Toggle off status of thumb --> <item android:state_checked="false" android:color="@color/settingslib_thumb_off_color" /> Loading
packages/SettingsLib/SettingsTheme/res/color-v31/settingslib_switch_track_off.xml 0 → 100644 +19 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2021 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. --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@android:color/system_neutral2_500" android:lStar="45" /> </selector> No newline at end of file
packages/SettingsLib/SettingsTheme/res/values-night-v31/colors.xml +5 −2 Original line number Diff line number Diff line Loading @@ -16,11 +16,14 @@ --> <resources> <!-- Material next thumb disable color--> <color name="settingslib_thumb_disabled_color">@android:color/system_neutral1_700</color> <!-- Material next thumb off color--> <color name="settingslib_thumb_off_color">@android:color/system_neutral2_300</color> <color name="settingslib_thumb_off_color">@android:color/system_neutral1_400</color> <!-- Material next track on color--> <color name="settingslib_track_on_color">@android:color/system_accent2_700</color> <color name="settingslib_track_on_color">@color/settingslib_switch_track_on</color> <!-- Material next track off color--> <color name="settingslib_track_off_color">@android:color/system_neutral1_700</color> Loading
packages/SettingsLib/SettingsTheme/res/values-v31/colors.xml +5 −2 Original line number Diff line number Diff line Loading @@ -22,14 +22,17 @@ <!-- Material next state off color--> <color name="settingslib_state_off_color">@android:color/system_accent2_100</color> <!-- Material next thumb disable color--> <color name="settingslib_thumb_disabled_color">@android:color/system_neutral2_100</color> <!-- Material next thumb off color--> <color name="settingslib_thumb_off_color">@android:color/system_neutral2_100</color> <color name="settingslib_thumb_off_color">@android:color/system_neutral2_300</color> <!-- Material next track on color--> <color name="settingslib_track_on_color">@android:color/system_accent1_600</color> <!-- Material next track off color--> <color name="settingslib_track_off_color">@android:color/system_neutral2_600</color> <color name="settingslib_track_off_color">@color/settingslib_switch_track_off</color> <!-- Dialog accent color --> <color name="settingslib_dialog_accent">@android:color/system_accent1_600</color> Loading