// RadioButton
int width = new RadioButton(getContext()).getButtonDrawable().getIntrinsicWidth();
int height = new RadioButton(getContext()).getButtonDrawable().getIntrinsicHeight();
// CheckBox
int width = new CheckBox(getContext()).getButtonDrawable().getIntrinsicWidth();
int height = new CheckBox(getContext()).getButtonDrawable().getIntrinsicHeight();
记录下,因为功能要重写,注释太乱了,我就要删。。。
但又怕自己忘记,以后又可能用到。。。