在xml中很简单 只要在veditView中设置属性Drawable{Right | Left | Top | Bottom}
在设置中可以使用
EditText text = (EditText)findViewById(R.id.text);
text.setCompoundDrawables(null, null, getResources().getDrawable(R.drawable.check_box), null);
图片插入EditView中
最新推荐文章于 2022-04-07 11:27:25 发布