TextView 代碼實現drawableRight

Drawable drawable= getResources().getDrawable(R.drawable.ic_up_arrow); drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight()); tv.setCompoundDrawables(null,null,drawable
相關文章
相關標籤/搜索