You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ferrannp
changed the title
SwitchPreference has no animation on pre-Lollipop
CheckBoxPreference & SwitchPreference has no animation on pre-Lollipop
Nov 18, 2015
ferrannp
changed the title
CheckBoxPreference & SwitchPreference has no animation on pre-Lollipop
CheckBoxPreference & SwitchPreference have no animation on pre-Lollipop
Nov 18, 2015
As we can read in the README.txt, in order to create a Material looking SwitchPreference we actually use this trick:
It works pretty good with just one drawback: There is no animation for pre-Lollipop devices (Switch switches instantly).
There is a post in StackOverflow about it: http://stackoverflow.com/questions/30336635/extending-preference-classes-in-android-lollipop-losing-animation
In the same way, this also happens with a pure CheckBoxPreference:
There is an opened and forgotten bug about it here: https://code.google.com/p/android/issues/detail?id=85392
The text was updated successfully, but these errors were encountered: