再做dialog中用这个方法挺方便:
textView.setcompoundDrawables
设置一张图片显示在textView的上下左右
用法代码:
textView.setCompoundDrawables(context.getResources().getDrawable(iconId), null, null, null);
如有错,请大家纠正。谢谢
再做dialog中用这个方法挺方便:
textView.setcompoundDrawables
设置一张图片显示在textView的上下左右
用法代码:
textView.setCompoundDrawables(context.getResources().getDrawable(iconId), null, null, null);
如有错,请大家纠正。谢谢