// Drawable drawable = context.getResources().getDrawable(R.mipmap.ic_setting_music_on); // // drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight()); // drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight()); // mVoiceTv.setCompoundDrawables(null, null, null, drawable); // mVoiceTv.setTextColor(context.getResources().getColor(R.color.apv_gray)); // mVoiceTv.setBackgroundResource(R.mipmap.ic_dialog_cancel);
android text 设置 drawable图片
最新推荐文章于 2022-07-31 16:21:49 发布