1

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.

verybadalloc
  • 5,588
  • 2
  • 29
  • 45
user1156041
  • 1,993
  • 5
  • 20
  • 48

1 Answers1

3

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):

enter image description here

verybadalloc
  • 5,588
  • 2
  • 29
  • 45