slanecek slanecek - 4 months ago 17x
Android Question

SwitchCompat draws additional lines

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 ''


classpath ''

and SwitchCompat will work as before even with 23.4.0 support library version.