title: Android Switch Widget: Setting android:track causes thumb and track to not show up
body: <p>I am having trouble customizing the look of an Android Switch widget. I have custom xml drawables that I want to use for the thumb (the little button part that usually says On or Off) and the track (the background that the thumb slides across). When I set just the thumb using android:thumb, it works fine. When I set the track (whether or not the thumb is set), the switch disappears entirely and I'm left with only the text showing.</p>
  
  <p>Here is my code when just the thumb is applied:</p>
  
  <pre><code>&lt;com.blahblahblah.blah.CustomSwitch
      android:id="@+id/switch_1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textOff="Off"
      android:textOn="On"
      android:text="Something Awesome"
      android:textColor="@android:color/black"
      android:thumb="@drawable/custom_switch_thumb" /&gt;
  </code></pre>
  
  <p>Here is what it looks like in the preview window:</p>
  
  <p><img src="https://i.stack.imgur.com/LUk1u.png" alt="enter image description here"></p>
  
  <p>And with the track applied:</p>
  
  <pre><code>&lt;com.blahblahblah.blah.CustomSwitch
      android:id="@+id/switch_1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textOff="Off"
      android:textOn="On"
      android:text="Something Awesome"
      android:textColor="@android:color/black"
      android:track="@color/track_color" /&gt;
  </code></pre>
  
  <p>Preview window with track applied:</p>
  
  <p><img src="https://i.stack.imgur.com/gttx1.png" alt="enter image description here"></p>
  
  <p>For reference I am using Android Studio 0.2.3 on OSX 10.7.5.</p>