I want to use the Switch toggle button (on/off) of Android 4.0 in Android 3.0. I would like to know there is any supported library for it. I have tried to copy the source code of android.widget.Switch
from ICS, with no avail.
Thanks.
I want to use the Switch toggle button (on/off) of Android 4.0 in Android 3.0. I would like to know there is any supported library for it. I have tried to copy the source code of android.widget.Switch
from ICS, with no avail.
Thanks.
A quick google search revealed this two libraries:
I have no experience using either of them, but the latter one seems to have a sample on the Play store with the following screenshot (image taken from the app's page):