title: How to move Toggle Button Label to right side
body: <p>Hi i am using a toggle button , in xml, and have set text as  allSchools</p>
  
  <p>My code is </p>
  
  <pre><code> &lt;Switch
      android:id="@+id/switch1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_above="@+id/execute_Search"
      android:layout_centerHorizontal="true"
      android:layout_marginBottom="18dp"
      android:textColor="@color/white"
      android:text="All Schools" /&gt;
  </code></pre>
  
  <p>It is displaying the toggle button on the right and the label on the left.</p>
  
  <p>I want it to be the other way around.</p>