0
당신의 TextView
의 텍스트에서 Drawable
접근에 대한 나의 버튼나는 내가에서 내 인출 할 아이콘의 여백을 줄 수있는 방법을</p> <p>이 하나가 말해 줄 수 그리드 레이아웃 버튼]에서 drawabletop의 여백을주고 싶어
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<GridLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:columnCount="1" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:layout_width="0dp"
android:layout_height="150dp"
android:layout_weight="1"
android:drawableTop="@drawable/commands"
android:text="@string/aten_word" />
<Button
android:layout_width="0dp"
android:layout_height="150dp"
android:layout_gravity="start"
android:layout_weight="1"
android:drawableTop="@drawable/gps"
android:text="@string/gps_setup" />
</LinearLayout>
</GridLayout>
</RelativeLayout>