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