Android Question Display HTML in textView?

Shahid Saeed

Active Member
Licensed User
Longtime User
Since we are making the native application why we are limited to html view when it is required to display html text? There is a workaround within android as the example and reference given below and I hop someone can address further to make it a workaround in B4A:

B4X:
myTextView.setText(Html.fromHtml("<h2>Title</h2><br><p>Description here</p>"));

http://developer.android.com/reference/android/text/Html.html#fromHtml(java.lang.String)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…