slanecek slanecek - 1 year ago 137
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.


Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download