Backwards compatible version of the Android Switch view