diff --git a/packages/SettingsLib/MainSwitchPreference/res/color-night-v34/settingslib_main_switch_text_color.xml b/packages/SettingsLib/MainSwitchPreference/res/color-night-v34/settingslib_main_switch_text_color.xml new file mode 100644 index 0000000000000..a7ccfc2e88dd5 --- /dev/null +++ b/packages/SettingsLib/MainSwitchPreference/res/color-night-v34/settingslib_main_switch_text_color.xml @@ -0,0 +1,23 @@ + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/MainSwitchPreference/res/color-v31/settingslib_main_switch_text_color.xml b/packages/SettingsLib/MainSwitchPreference/res/color-v31/settingslib_main_switch_text_color.xml new file mode 100644 index 0000000000000..de367244dbde4 --- /dev/null +++ b/packages/SettingsLib/MainSwitchPreference/res/color-v31/settingslib_main_switch_text_color.xml @@ -0,0 +1,23 @@ + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/MainSwitchPreference/res/color-v34/settingslib_main_switch_text_color.xml b/packages/SettingsLib/MainSwitchPreference/res/color-v34/settingslib_main_switch_text_color.xml new file mode 100644 index 0000000000000..e33905bf1cbc1 --- /dev/null +++ b/packages/SettingsLib/MainSwitchPreference/res/color-v34/settingslib_main_switch_text_color.xml @@ -0,0 +1,23 @@ + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/MainSwitchPreference/res/values-v31/styles.xml b/packages/SettingsLib/MainSwitchPreference/res/values-v31/styles.xml index 1b80cc6f6fde3..b8e43fc2e3448 100644 --- a/packages/SettingsLib/MainSwitchPreference/res/values-v31/styles.xml +++ b/packages/SettingsLib/MainSwitchPreference/res/values-v31/styles.xml @@ -20,6 +20,6 @@ diff --git a/packages/SettingsLib/SettingsTheme/res/color-night-v34/settingslib_switch_track_outline_color.xml b/packages/SettingsLib/SettingsTheme/res/color-night-v34/settingslib_switch_track_outline_color.xml new file mode 100644 index 0000000000000..6fab8313587c2 --- /dev/null +++ b/packages/SettingsLib/SettingsTheme/res/color-night-v34/settingslib_switch_track_outline_color.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/SettingsTheme/res/color-v31/settingslib_switch_thumb_color.xml b/packages/SettingsLib/SettingsTheme/res/color-v31/settingslib_switch_thumb_color.xml index 8ccbb06f3edf2..a9c5c03a13871 100644 --- a/packages/SettingsLib/SettingsTheme/res/color-v31/settingslib_switch_thumb_color.xml +++ b/packages/SettingsLib/SettingsTheme/res/color-v31/settingslib_switch_thumb_color.xml @@ -17,7 +17,8 @@ + android:color="@color/settingslib_thumb_disabled_color" + android:alpha="?android:attr/disabledAlpha" /> diff --git a/packages/SettingsLib/SettingsTheme/res/color-v34/settingslib_switch_thumb_color.xml b/packages/SettingsLib/SettingsTheme/res/color-v34/settingslib_switch_thumb_color.xml new file mode 100644 index 0000000000000..2bc4ddf0e1b7a --- /dev/null +++ b/packages/SettingsLib/SettingsTheme/res/color-v34/settingslib_switch_thumb_color.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/SettingsTheme/res/color-v34/settingslib_switch_track_outline_color.xml b/packages/SettingsLib/SettingsTheme/res/color-v34/settingslib_switch_track_outline_color.xml new file mode 100644 index 0000000000000..8abc1fdda733c --- /dev/null +++ b/packages/SettingsLib/SettingsTheme/res/color-v34/settingslib_switch_track_outline_color.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/SettingsTheme/res/drawable-v34/settingslib_switch_track.xml b/packages/SettingsLib/SettingsTheme/res/drawable-v34/settingslib_switch_track.xml new file mode 100644 index 0000000000000..851e413e41c05 --- /dev/null +++ b/packages/SettingsLib/SettingsTheme/res/drawable-v34/settingslib_switch_track.xml @@ -0,0 +1,27 @@ + + + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/SettingsTheme/res/values-night-v34/colors.xml b/packages/SettingsLib/SettingsTheme/res/values-night-v34/colors.xml new file mode 100644 index 0000000000000..e3645b55981b2 --- /dev/null +++ b/packages/SettingsLib/SettingsTheme/res/values-night-v34/colors.xml @@ -0,0 +1,40 @@ + + + + + + @android:color/system_accent1_700 + + + @android:color/system_accent1_700 + + + @color/settingslib_thumb_off_color + + + @android:color/system_accent1_800 + + + @android:color/system_neutral2_400 + + + @android:color/system_accent1_200 + + + @android:color/system_surface_container_highest_dark + + diff --git a/packages/SettingsLib/SettingsTheme/res/values-v34/colors.xml b/packages/SettingsLib/SettingsTheme/res/values-v34/colors.xml new file mode 100644 index 0000000000000..fdd96ec78efca --- /dev/null +++ b/packages/SettingsLib/SettingsTheme/res/values-v34/colors.xml @@ -0,0 +1,42 @@ + + + + + + @android:color/system_accent1_100 + + + @android:color/system_accent1_100 + + + @color/settingslib_thumb_off_color + + + @android:color/system_accent1_0 + + + @android:color/system_neutral2_500 + + + @android:color/system_accent1_600 + + + @android:color/system_surface_container_highest_light + + + @color/settingslib_switch_track_outline_color + \ No newline at end of file