J'ai une barre de navigation en bas de l'écran. J'ai un ensemble de 3 boutons dans cette barre de navigation, les boutons ont une icône comme bouton d'arrière-plan, il n'y a pas d'espace entre eux. J'ai cherché dans Google comment les séparer les uns des autres mais je n'ai pas réussi. La question est: comment puis-je les séparer les uns des autres? voici mon code xml:comment séparer les icônes les unes des autres android
Main.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
<LinearLayout
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="#5E767E"
android:gravity="center"
>
<Button
android:layout_height="wrap_content"
android:id="@+id/back"
android:layout_width="wrap_content"
android:background="@drawable/button"
/>
<Button
android:layout_height="wrap_content"
android:id="@+id/home"
android:layout_width="wrap_content"
android:background="@drawable/button"
/>
<Button
android:layout_height="wrap_content"
android:id="@+id/next"
android:layout_width="wrap_content"
android:background="@drawable/button"
/>
</LinearLayout>
</RelativeLayout>
Merci beaucoup. Ça a marché!! – madcoderz