Yesterday I had switched to Android Studio 2.2 Preview 1 and I noticed that there were some additional lines around alls SwitchCompat views and they look deformated.
Its style just contains width/height params and vertical center, that's all. Appcompat library version is 23.4.0.
I have found source of problem - it is android gradle plugin, go to root build.gradle file and replace
classpath 'com.android.tools.build:gradle:2.2.0-alpha1'
with
classpath 'com.android.tools.build:gradle:2.1.0'
and SwitchCompat will work as before even with 23.4.0 support library version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With