こんにちはみんな私は問題があります私はEditTextの使用で画像を表示する必要があります:ImageGetter。この作品
String html = "<img src=\"ic_launcher\">";
CharSequence text = Html.fromHtml(html, new Html.ImageGetter(){
public Drawable getDrawable(String source){
int id = getResources().getIdentifier(source, "drawable", getPackageName());
Drawable d = getResources().getDrawable(id);
int w = d.getIntrinsicWidth();
int h = d.getIntrinsicHeight();
d.setBounds(0, 0, w, h);
return d;
}
}, null);
mContentEditText.setText(text);
しかし、「R.drawable.IMAGE_NAME」ではなく、SDカードの画像が必要です。ありがとう