Comments (4)
Note: The official SwitchCompat widget doesn't animate either...
from android-materialpreference.
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
from android-materialpreference.
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.
from android-materialpreference.
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
from android-materialpreference.
Related Issues (13)
- PreferenceScreen HOT 1
- mp_colorAccent not working with CheckBoxPreference
- Gradle issue HOT 2
- ListPreference MultiSelectListPreference HOT 3
- CheckBoxPreference disableDependentsState not working HOT 3
- Switch Preference HOT 2
- Anyway to change the margins
- Changing the color of PreferenceCategory Text
- How can I change the color of the background and text?
- padding bug HOT 2
- Side-by-side comparison missing HOT 2
- Doesnโt work properly in RTL layouts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-materialpreference.