gauche, je suis très nouveau pour Android et je la mise en page du code XML suivant:Nudge un bouton à la
<?xml version="1.0" encoding="utf-8"?>
<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1"
android:background="#CCC">
<TableRow
android:background="#333"
android:padding="10px">
<Button
android:text="Sign-up"
android:id="@+id/signUp"
android:layout_width="wrap_content"
android:textSize="18px"
android:layout_height="wrap_content"
android:layout_gravity="left">
</Button>
<Button
android:text="About"
android:id="@+id/about"
android:layout_width="wrap_content"
android:textSize="18px"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:gravity="">
</Button>
</TableRow>
</TableLayout>
Ceci produit la mise en page suivante:
Comment puis-je Pousser le bouton le plus à droite vers la gauche?
Qu'est-ce que vous essayez d'atteindre? On dirait que TableLayout n'est pas un bon choix pour ça. –