标签:
ImageSpan imageSpanMenu1 = new ImageSpan(activity,menuResId1);
SpannableString contentMenu1 = new SpannableString(" "+menuName1);
contentMenu1.setSpan(imageSpanMenu1, 0, 2, SpannableString.SPAN_EXCLUSIVE_EXCLUSIVE);
btn_czxc.setText(contentMenu1);
标签:
原文地址:http://www.cnblogs.com/dmblog001/p/5696017.html