Hi I am new to android
development. I have a string
which looks like this
String source = "Hi <b>Ram</b>. This is the Formula <img src=\"https://i.postimg.cc/wTXjVKDf/ste.png\"/> Check it Out";
I want to display it in TextView
. I used
textView.setText(Html.fromHtml(source, Html.FROM_HTML_MODE_LEGACY));
to achieve this.
But it Looks like this
Instead of Image
, there is a color box showing
. I saw several questions in Stack Overflow. But all answers are outdated. Now those answers are not working. Please help me to solve this problem.