setCompoundDrawablesWithIntrinsicBounds(left, top, right, bottom)
意思是设置Drawable显示在text的左、上、右、下位置。
eg:
tv_mycreat.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, R.drawable.lanse1);
tv_join.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0,0);