title: CusotomSwitch draw as Button
body: <p>I'm writing a CustomSwitch. It is extended from <a href="http://developer.android.com/reference/android/widget/Switch.html" rel="nofollow">Switch</a>. Under some circumstances in the <code>onDraw()</code> method, I want to draw the CustomSwitch as a Button.</p>
  
  <p>I tried several approaches, but neither did work. I can't call <code>((Button)this).draw(canvas);</code> in the <code>onDraw()</code> cause thats going to result in a stack overflow.
  I tried to clone the CustomSwitch or inflate it and cast it to Button, but nether of those two approaches did work, too.</p>
  
  <p>Does any body have another idea how I can draw a CustomSwitch as Button?</p>