organisation des objets de l'interface
Bonsoir,
Comment éliminer l'espace blanc entre un bouton et une zone de texte dans un LinearLayout horizontal. Je veux qu'il y a une frontière commune entre zone de texte et le bouton sans espace entre les deux objets??
Comment centrer tous les objets de LinearLayout?
Voici mon code
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
<LinearLayout
android:orientation="horizontal"
android:layout_width="50mm"
android:layout_height="9mm"
android:background="@drawable/fond"
android:layout_gravity="bottom"
>
<EditText android:id="@+id/EditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="bottom"
android:text=""
/>
<Button android:id="@+id/Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/android_button"
/>
</LinearLayout> |