Using android, I would like to implement a vertical switch widget implementation. As far as I can tell, the switches seem to have a horizontal orientation. I would like to have something like the following:

After looking at the topics here and searching google, I still need to find something that can give me this. Everything I'm looking for gives me only horizontal implementation.
so I can create a typical horizontal switch
<Switch android:id="@+id/switch_button" android:layout_width="130dp" android:layout_height="wrap_content" android:layout_alignLeft="@+id/label" android:layout_gravity="center" android:switchMinWidth="130dp" android:thumb="@drawable/switch_selector" android:track="@drawable/track_selector" > </Switch>
but there seems to be no good way to set the orientation. I know the question is a little high. Is there some kind of attribute that is immediately available that will allow me to have a vertical switch? Or do I need to create a custom switch and possibly change the onDraw method so that it flips vertically? Any help is appreciated. Thanks.
source share