Hi All, I am working on displaying 2 different strings one is in bold and other is in small. I need to show these text max in 3 lines and ellipsize rest of the text. However I am facing an issue with ellipsizing the second string. I dont want to ellipsize the first string.
Here is my code: - String titleAndDesc = "<b>" + spannedTitle + "</b>" + "<br />" + "<small>" + "<font color='#A9A9A9'>" + spannedDesc + "</font>" + "</small>"; holder.text.setText(Html.fromHtml(titleAndDesc)); The output : it ellipsizes the first string and doesnt ellipsize the second string. (truncate it directly,no "...") in case the first string is more than 2 lines. Please help to solve it. Thanks a lot. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en