My implementation of Smooth Switch android widget.