title: Trying to move a button to be on the right side of the screen. My right not the computers right
body: <p>In the xml I am trying to get the button to be on the right side. Here is my code.</p>
  
  <pre><code>   &lt;TableRow&gt;
  
      &lt;Button
          android:layout_gravity="right"
          android:gravity="right"
          android:id="@+id/Button01"
          android:text="Sign in" /&gt;
  
     &lt;/TableRow&gt;
  </code></pre>
  
  <p>When I delete the tableRow tags, the button goes the entire width of the screen.  I also played around with changing right to left and have still had no luck</p>