Drawable rg1 = getResources().getDrawable(R.drawable.sel_home); rg1.setBounds(0, 0, 50, 50);//第一0是距左右邊距離,第二0是距上下邊距離,第三69長度,第四寬度 mRadiogroupHome.setCompoundDrawables(null, rg1, null, null);//只放上面