but oddly enough he did not add the Switch-view to the standard B4A-views I might be mistaken since I don't have the latest version of B4A here at work.
I checked the B4A example provided but it is done using Designer. Is it possible to implement it using code alone? I would like to add a Switch to the actionbar using Standard Action Bar library (project is only for Android 4+ devices).