5
मैं एचटीएमएल स्ट्रिंग और इस स्ट्रिंग में SpannableString
और TextView
में सभी रखा, और समस्या SpannableString
में है, वह Html.fromhtml()
में नहीं दिखाया गया है, मैं कैसे दिखा सकते हैं Html.fromHtml
में SpannableString
क्या यह संभव है?एंड्रॉयड html.fromhtml + spannablestring
for(int index = 0; index < l.length; index++){ // have3d() return SpannableString
x += "<font color=\"green\">"+ have3d(title[index])+ " </font> <br />"+l[index] + "<br/><br/>";
if(index == l.length-1){
x += "<font color=\"green\">"+title[index]+" </font> <br />"+l[index]+ "<br/>";
}
}
mcinema.setText(Html.fromHtml(x));