2011-07-07 40 views

回答

0

看的TextView這裏是link

查看[Android:drawableLeft,安卓drawableRight,機器人: drawbleTop,安卓:drawbleBottom

從類設置繪製...找setCompoundDrawablesWithIntrinsicBounds這裏是link

希望這有助於。

1

您可以使用Button這個

Button b=new Button(this); 
b.setText(" Button");  
b.setCompoundDrawablesWithIntrinsicBounds(null, getResources().getDrawable(R.drawable.btn_call), null, null); 
相關問題