I wish to show my text as in justified format, for this purpose i used webview instead of textview. Here my problem is i wish to add background image for my webview. The text content are in my string.xml
. i used the following code,
<string name="link"> <![CDATA[
<html>
<head></head>
<body style="text-align:justify;color:white;background-color:black;">
// content
</body>
</html>
]]>
</string>
in this code i set background color as black, instead of that i wish to add an .jpg or .png image. How can i modify this code. Thanks in advance.