これが私のxmlです。グラフィックレイアウトの画像間に隙間があり、避けたいです。5つの画像が1つの画像のように見えるように、すべての画像を互いに整列させたい.
<LinearLayout
android:id="@+id/linearInteractTab"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:weightSum="5"
android:layout_margin="5dp" >
<ImageView
android:id="@+id/imgCall"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:src="@drawable/call" />
<ImageView
android:id="@+id/imgMsg"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/mail" />
<ImageView
android:id="@+id/imgComment"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/chat" />
<ImageView
android:id="@+id/imgDir"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/direction" />
<ImageView
android:id="@+id/imgAppt"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/calender" />
</LinearLayout>