title: Widget Switch only shows text and not the button
body: <p>I have a switch widget that doesn't show up as a switch. Instead, I just see the text.</p>
  
  <p><img src="https://i.stack.imgur.com/qzhu8.png" alt="Switch button only displays text and not the button"></p>
  
  <p>Here's the code:</p>
  
  <pre><code>&lt;Switch
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentRight="true"
      android:id="@+id/switch1"
      android:layout_below="@id/divider5"
      android:textOff="OFF"
      android:textOn="ON"/&gt;
  </code></pre>
  
  <p>What can I do to fix it?</p>