From 3fc3ec1153ef686b6a644d99641697a9b0c95220 Mon Sep 17 00:00:00 2001 From: hunterstich Date: Wed, 9 Nov 2022 14:42:30 +0000 Subject: [PATCH] [Switch] Update animations to use motion themeing. PiperOrigin-RevId: 487228839 --- .../mtrl_switch_thumb_checked_pressed.xml | 4 +- .../mtrl_switch_thumb_checked_unchecked.xml | 48 ++++++++++--------- .../mtrl_switch_thumb_pressed_checked.xml | 4 +- .../mtrl_switch_thumb_pressed_unchecked.xml | 4 +- .../mtrl_switch_thumb_unchecked_checked.xml | 48 ++++++++++--------- .../mtrl_switch_thumb_unchecked_pressed.xml | 4 +- .../materialswitch/res/values/integers.xml | 5 -- 7 files changed, 58 insertions(+), 59 deletions(-) diff --git a/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_checked_pressed.xml b/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_checked_pressed.xml index a1b84ed77bb..0529abc037a 100644 --- a/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_checked_pressed.xml +++ b/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_checked_pressed.xml @@ -23,8 +23,8 @@ - - - - - - - - - - + + + + + + + + + + + + diff --git a/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_pressed_checked.xml b/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_pressed_checked.xml index 353370e6353..99330d71606 100644 --- a/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_pressed_checked.xml +++ b/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_pressed_checked.xml @@ -23,8 +23,8 @@ - - - - - - - - - - + + + + + + + + + + + + diff --git a/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_unchecked_pressed.xml b/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_unchecked_pressed.xml index 5c50b3f0dbf..2945c60721b 100644 --- a/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_unchecked_pressed.xml +++ b/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_unchecked_pressed.xml @@ -23,8 +23,8 @@ - 250 - 100 - 150 - 100 - 32 16