图片插入EditView中

在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);

你可能感兴趣的:(xml)