'Show image from HTML tag in text view?

Xml Layout

<org.sufficientlysecure.htmltextview.HtmlTextView
            android:id="@+id/txtDescription"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="10dp"
            android:lineSpacingExtra="5dp"
            android:padding="5dp"
            android:textAppearance="@style/TextAppearance.AppCompat.Small"
            android:textColor="@color/black" />

Java

txtDescription.setHtml(object.getString("content"), new HtmlHttpImageGetter(txtDescription));

Response from server

{"success":"true","Content":{"id":115,"title":"vvipprogram","content":"<img src=\"https://example.com//media//images//topvvip.jpg" alt=\"topvvip\" width=\"43%\"\/>\r\n"}}

Result Screenshot

enter image description here

I Want to show this image in full page ? How to do this ? plz help me .



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source