html - how to show data on textview in android with color? -



html - how to show <span color=#f00000;> data on textview in android with color? -

actually problem have info comes webservice,i parse info , fill in sqlite databases rows.the info contain html tags android not back upwards

> <span style="color:#ff0000;">the lord creator <span>;

so "the lord creator" shown in reddish color.like have textviews in listview in android.the html.fromhtml not working. any help appriciated.

html.fromhtml();

this function returns spanned object wich can set text textview.

android html webview

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -