I want to have the Lollipop style switch button for my app:
How could I im
There is a great article on the Android Developers Blog that discusses how to use material design on pre-Lollipop devices: http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html
To more specifically answer your question, you can use the Lollipop style switch for older versions by using the SwitchCompat
API: https://developer.android.com/reference/android/support/v7/widget/SwitchCompat.html