2011-06-19 8 views
0

ボタンとそのテキストの間にパディングを追加するにはどうすればよいですか?上にパディングを追加ボタンテキスト

enter image description here

 <Button 
      android:text="@string/routes_btn_title" 
      android:drawableTop="@drawable/temp_button_icon" 
      android:layout_gravity="top|center_horizontal"/> 

答えて

1

使用のandroid:あなたのレイアウトでdrawablePadding。

関連する問題