摘要: 更换radiobutton中的图片在xml中很好设置,但对于初学者如何在代码中设置还是不容易找的。没法子,通过看原版api找到两个方法,setCompoundDrawables和setCompoundDrawablesWithIntrinsicBounds。下面交给大家方法。第一个方法:setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right, Drawable bottom)api原文为:Sets the Drawables (if any) to appear to the lef 阅读全文
posted @ 2012-10-30 14:53 池塘里的大象 阅读(15523) 评论(1) 推荐(2) 编辑