나는 Andorid에서 일하고 있습니다. 일부 이미지 메뉴를 디자인했습니다. 디스플레이는 세로은 다음과 같습니다이 메뉴는 좋다 : 가로 모드에서이 프로그램을 볼 때 _ 이미지 사이에 여백을 설정하는 방법
하지만은, 다음 이미지가 뻗어 얻을. 이 같은: -
는하지만 난 그들이 세로 모드에서와 동일한 크기의 이미지를보고 싶어, 이미지 사이에도 공간이 변경 될 수 있습니다. 이건 내 코드입니다 : -
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:layout_centerVertical="true" >
<ImageButton
android:id="@+id/btnMediaMenu"
android:scaleType="fitXY"
android:background="@null"
android:onClick="menuClicked"
android:layout_width="32px"
android:layout_marginRight="10dip"
android:layout_height="32px"
android:src="@drawable/media" />
<same code for other images... />
이 날을 제안 해주십시오 내가 지금 이러한 이미지가 늘어되지 않아야한다와 이미지 사이의 공간이 화면을 채우기 위해 증가 할 수 있습니다 무엇.
미리 감사드립니다.
(https://developer.android.com /design/index.html). –