6 개의 버튼이 있습니다. XML은 다음과 같습니다. 버튼 텍스트가 가운데에 맞춰지고 크기가 모두 같아 지도록 변경하는 방법?모든 버튼 크기, 가운데 텍스트 (안드로이드)
크기 설정이 트릭을 수행한다고 가정 했습니까?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<Button
android:id="@+id/Button1"
android.layout_height="100px"
android.layout_width="60px"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="BUTTON1"/>