有以下三句代码即可:
- Drawabledrawable1=getResources().getDrawable(R.drawable.tab_accounte);
- drawable1.setBounds(0, 0, drawable1.getMinimumWidth(),
drawable1.getMinimumHeight()); - rb_rememberaccount.setCompoundDrawables(null, drawable1, null, null);
有以下三句代码即可: