Drawable rg1 = getResources().getDrawable(R.drawable.sel_home); rg1.setBounds(0, 0, 50, 50);//The first 0 is the distance from the left and right edges, the second 0 is the distance from the upper and lower edges, the third 69 length, and the fourth width mRadiogroupHome.setCompoundDrawables(null, rg1, null, null);//Only above
Set Radiogroup image size
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325065682&siteId=291194637
Recommended
Ranking