How to write and use html code in android is given below. Use this string "ss" for the function Html.fromHtml() as Html.fromHtml(ss).
String ss="<html>"
+"<body>"
+"<p>"+"Hi just to make you aware of this fantastic Free Bet Offer available to you now, get some free money from this brilliant offer."+"</p>"
+"<a href="+text+"target="+text+">"+text+"</a>"
+"</body>"
+"</html>";
String ss="<html>"
+"<body>"
+"<p>"+"Hi just to make you aware of this fantastic Free Bet Offer available to you now, get some free money from this brilliant offer."+"</p>"
+"<a href="+text+"target="+text+">"+text+"</a>"
+"</body>"
+"</html>";
No comments:
Post a Comment