代码修改 drawleft 图标大小
1. Drawable drawable = getResources().getDrawable(int drawableId);
2. drawable.setBounds(0, 0, width, height);(一定要先设置这个)
3. radioButton.setCompoundDrawables(null, null, drawable, null);(要使用这个方法设置图片才能生效)
1. Drawable drawable = getResources().getDrawable(int drawableId);
2. drawable.setBounds(0, 0, width, height);(一定要先设置这个)
3. radioButton.setCompoundDrawables(null, null, drawable, null);(要使用这个方法设置图片才能生效)