In the xml I am trying to get the button to be on the right side. Here is my code.
<TableRow>
<Button
android:layout_gravity="right"
android:gravity="right"
android:id="@+id/Button01"
android:text="Sign in" />
</TableRow>
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
can you change the layout?
Try with: