Download SwitchCompatLibrary Free Java Code
Description
I backported the ICS Switch ( api level 14+) to Froyo ( api level 8).
Icons
Source Files
The download file SwitchCompatLibrary-master.zip has the following entries.
LICENSE/* w ww . ja va 2s . co m*/
README.md
SwitchCompatLibrary/.classpath
SwitchCompatLibrary/.gitignore
SwitchCompatLibrary/.project
SwitchCompatLibrary/AndroidManifest.xml
SwitchCompatLibrary/proguard-project.txt
SwitchCompatLibrary/project.properties
SwitchCompatLibrary/res/drawable-hdpi/switch_bg_disabled_holo_dark.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_bg_disabled_holo_light.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_bg_focused_holo_dark.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_bg_focused_holo_light.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_bg_holo_dark.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_bg_holo_light.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_thumb_activated_holo_dark.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_thumb_activated_holo_light.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_thumb_disabled_holo_dark.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_thumb_disabled_holo_light.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_thumb_holo_dark.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_thumb_holo_light.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_thumb_pressed_holo_dark.9.png
SwitchCompatLibrary/res/drawable-hdpi/switch_thumb_pressed_holo_light.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_bg_disabled_holo_dark.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_bg_disabled_holo_light.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_bg_focused_holo_dark.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_bg_focused_holo_light.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_bg_holo_dark.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_bg_holo_light.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_thumb_activated_holo_dark.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_thumb_activated_holo_light.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_thumb_disabled_holo_dark.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_thumb_disabled_holo_light.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_thumb_holo_dark.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_thumb_holo_light.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_thumb_pressed_holo_dark.9.png
SwitchCompatLibrary/res/drawable-ldpi/switch_thumb_pressed_holo_light.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_bg_disabled_holo_dark.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_bg_disabled_holo_light.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_bg_focused_holo_dark.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_bg_focused_holo_light.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_bg_holo_dark.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_bg_holo_light.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_thumb_activated_holo_dark.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_thumb_activated_holo_light.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_thumb_disabled_holo_dark.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_thumb_disabled_holo_light.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_thumb_holo_dark.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_thumb_holo_light.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_thumb_pressed_holo_dark.9.png
SwitchCompatLibrary/res/drawable-xhdpi/switch_thumb_pressed_holo_light.9.png
SwitchCompatLibrary/res/drawable/switch_inner_holo_dark.xml
SwitchCompatLibrary/res/drawable/switch_inner_holo_light.xml
SwitchCompatLibrary/res/drawable/switch_track_holo_dark.xml
SwitchCompatLibrary/res/drawable/switch_track_holo_light.xml
SwitchCompatLibrary/res/values/attrs.xml
SwitchCompatLibrary/res/values/strings.xml
SwitchCompatLibrary/res/values/styles.xml
SwitchCompatLibrary/res/values/themes.xml
SwitchCompatLibrary/src/de/ankri/text/method/AllCapsTransformationMethod.java
SwitchCompatLibrary/src/de/ankri/text/method/TransformationMethodCompat.java
SwitchCompatLibrary/src/de/ankri/text/method/TransformationMethodCompat2.java
SwitchCompatLibrary/src/de/ankri/views/Switch.java
SwitchSampleProject/.classpath
SwitchSampleProject/.gitignore
SwitchSampleProject/.project
SwitchSampleProject/AndroidManifest.xml
SwitchSampleProject/bin/AndroidManifest.xml
SwitchSampleProject/bin/SwitchTest.apk
SwitchSampleProject/bin/classes.dex
SwitchSampleProject/bin/classes/de/ankri/R$attr.class
SwitchSampleProject/bin/classes/de/ankri/R$dimen.class
SwitchSampleProject/bin/classes/de/ankri/R$drawable.class
SwitchSampleProject/bin/classes/de/ankri/R$id.class
SwitchSampleProject/bin/classes/de/ankri/R$layout.class
SwitchSampleProject/bin/classes/de/ankri/R$menu.class
SwitchSampleProject/bin/classes/de/ankri/R$string.class
SwitchSampleProject/bin/classes/de/ankri/R$style.class
SwitchSampleProject/bin/classes/de/ankri/R$styleable.class
SwitchSampleProject/bin/classes/de/ankri/R.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/BuildConfig.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/MainActivity$1.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/MainActivity.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R$attr.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R$dimen.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R$drawable.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R$id.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R$layout.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R$menu.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R$string.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R$style.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R$styleable.class
SwitchSampleProject/bin/classes/de/ankri/switchtest/R.class
SwitchSampleProject/bin/jarlist.cache
SwitchSampleProject/bin/res/drawable-hdpi/ic_action_search.png
SwitchSampleProject/bin/res/drawable-hdpi/ic_launcher.png
SwitchSampleProject/bin/res/drawable-ldpi/ic_launcher.png
SwitchSampleProject/bin/res/drawable-mdpi/ic_action_search.png
SwitchSampleProject/bin/res/drawable-mdpi/ic_launcher.png
SwitchSampleProject/bin/res/drawable-xhdpi/ic_action_search.png
SwitchSampleProject/bin/res/drawable-xhdpi/ic_launcher.png
SwitchSampleProject/bin/res/drawable/light_bulb.png
SwitchSampleProject/bin/res/drawable/light_bulb_off.png
SwitchSampleProject/bin/resources.ap_
SwitchSampleProject/gen/de/ankri/R.java
SwitchSampleProject/gen/de/ankri/switchtest/BuildConfig.java
SwitchSampleProject/gen/de/ankri/switchtest/R.java
SwitchSampleProject/ic_launcher-web.png
SwitchSampleProject/libs/android-support-v4.jar
SwitchSampleProject/proguard-project.txt
SwitchSampleProject/project.properties
SwitchSampleProject/res/drawable-hdpi/ic_action_search.png
SwitchSampleProject/res/drawable-hdpi/ic_launcher.png
SwitchSampleProject/res/drawable-ldpi/ic_launcher.png
SwitchSampleProject/res/drawable-mdpi/ic_action_search.png
SwitchSampleProject/res/drawable-mdpi/ic_launcher.png
SwitchSampleProject/res/drawable-xhdpi/ic_action_search.png
SwitchSampleProject/res/drawable-xhdpi/ic_launcher.png
SwitchSampleProject/res/drawable/light_bulb.png
SwitchSampleProject/res/drawable/light_bulb_off.png
SwitchSampleProject/res/layout/activity_main.xml
SwitchSampleProject/res/menu/activity_main.xml
SwitchSampleProject/res/values/dimens.xml
SwitchSampleProject/res/values/strings.xml
SwitchSampleProject/res/values/styles.xml
SwitchSampleProject/src/de/ankri/switchtest/MainActivity.java
Download
Click the following link to download SwitchCompatLibrary-master.zip.
SwitchCompatLibrary-master.zip