TextView textView = findViewById(R.id.textView);
Drawable drawableLeft = ContextCompat.getDrawable(this, R.drawable.your_drawable_id);
textView.setCompoundDrawablesWithIntrinsicBounds(drawableLeft, null, null, null);
標簽:
- 版權所有:奇站網(wǎng)絡 轉(zhuǎn)載請注明出處
- 廈門奇站網(wǎng)絡科技有限公司,專業(yè)提供網(wǎng)站建設,響應式網(wǎng)站建設,小程序開發(fā),系統(tǒng)定制開發(fā)。
- 軟件開發(fā)咨詢熱線:吳小姐 13313868605