2011-06-19 20 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在佈局中。