2012-11-19 41 views

回答

5

是的,你可以動態地改變它.. 您可以使用setCompoundDrawables(drawable_left, drawable_top, drawable_right, drawable_bottom)

下面是示例代碼。嘗試&檢查它。

radiobutton.setCompoundDrawables(null, null, your_drawable, null);