Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

CheckBoxPreference misses Lollipop style click animation #3

Open
jenzz opened this issue Feb 14, 2015 · 4 comments
Open

CheckBoxPreference misses Lollipop style click animation #3

jenzz opened this issue Feb 14, 2015 · 4 comments

Comments

@jenzz
Copy link
Owner

jenzz commented Feb 14, 2015

Title says it all...

@jenzz
Copy link
Owner Author

jenzz commented Mar 24, 2015

Note: The official SwitchCompat widget doesn't animate either...

@msutherland4807
Copy link
Contributor

I've found a good workaround for these issues is to create a xml-v21 with XML that mirrors your preferences with their native counterparts

@jenzz
Copy link
Owner Author

jenzz commented Mar 24, 2015

Sure, @msutherland4807. However, that would enable animations on Lollipop only, so it's not really backward-compatible.
Also, I personally don't like to maintain two almost identical preferences.xml files. My idea of this little library was to have one XML file that provides consistent Material design widgets across all API levels.

I'm still hoping for an update to the AppCompat library which backports some of these things and also moves widgets like TintCheckBox out of the internal package into public scope.

@msutherland4807
Copy link
Contributor

Agreed entirely. I also just noticed that the new Nova Launcher material beta has animations on it's Switches (but not CheckBoxes), perhaps that could help with this. I'll look into the apk when I get a chance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants