0

I have a android textview and I am setting text

String htmlAsString="That is great I will request one of our advisor to contact you to provide details on the camp availability";    
Spanned htmlAsSpanned = Html.fromHtml(htmlAsString.replace(" ", "&#160") );
textview.setText(htmlAsSpanned);

At the time of running. I am getting like below

enter image description here

I don't want split my text.How I can stop to splitting of the word

Phantômaxx
  • 37,352
  • 21
  • 80
  • 110
Krishna
  • 4,812
  • 17
  • 60
  • 96

0 Answers0