From 83cc3d60c8f2172611e97386063b5b1029c8eaf0 Mon Sep 17 00:00:00 2001 From: Zakhar Timoshenko Date: Sat, 19 Mar 2022 13:54:20 +0300 Subject: [PATCH] Use new M3 switches --- app/src/main/res/color/selector_switch_thumb.xml | 5 +++++ app/src/main/res/color/selector_switch_track.xml | 5 +++++ app/src/main/res/drawable/switch_thumb.xml | 15 +++++++++++++++ app/src/main/res/drawable/switch_track.xml | 12 ++++++++++++ app/src/main/res/values/styles.xml | 4 ++++ app/src/main/res/xml/pref_about.xml | 2 +- app/src/main/res/xml/pref_main.xml | 4 ++-- app/src/main/res/xml/pref_tracker.xml | 2 +- 8 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 app/src/main/res/color/selector_switch_thumb.xml create mode 100644 app/src/main/res/color/selector_switch_track.xml create mode 100644 app/src/main/res/drawable/switch_thumb.xml create mode 100644 app/src/main/res/drawable/switch_track.xml diff --git a/app/src/main/res/color/selector_switch_thumb.xml b/app/src/main/res/color/selector_switch_thumb.xml new file mode 100644 index 000000000..83d334382 --- /dev/null +++ b/app/src/main/res/color/selector_switch_thumb.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/color/selector_switch_track.xml b/app/src/main/res/color/selector_switch_track.xml new file mode 100644 index 000000000..504337dcb --- /dev/null +++ b/app/src/main/res/color/selector_switch_track.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_thumb.xml b/app/src/main/res/drawable/switch_thumb.xml new file mode 100644 index 000000000..d66a38608 --- /dev/null +++ b/app/src/main/res/drawable/switch_thumb.xml @@ -0,0 +1,15 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_track.xml b/app/src/main/res/drawable/switch_track.xml new file mode 100644 index 000000000..77d96d562 --- /dev/null +++ b/app/src/main/res/drawable/switch_track.xml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 99825b464..2b088ee38 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -61,6 +61,10 @@ diff --git a/app/src/main/res/xml/pref_about.xml b/app/src/main/res/xml/pref_about.xml index 985e8bbf5..7be3e5c8a 100644 --- a/app/src/main/res/xml/pref_about.xml +++ b/app/src/main/res/xml/pref_about.xml @@ -15,7 +15,7 @@ app:persistent="false" app:summary="@string/check_for_updates" /> - - - -