I have a textview and I am trying to draw image spans along with some text in it.
Sometimes some of the images are not visible when the content wraps to the next line.
Anything that I should keep in mind while adding spans to a textview ?
Any other details i should furnish , I can paste my code here.
If you want to restrict the maximum number of lines in a text view , you can simply add the to your Text View. Hope this helps. If this was not required, feel free to ask it with proper example.
Text wrapping is a normal aspect of "flow" content in an HTML document. You're not seeing it in this example because you've specifically separated lines into separate elements. < p class = "result" > [?] What more would you like to know? Enter 0 for Skills, 1 for Qualifications,2 for About, 3 for Projects and 4 for Contact details. </ p >
CASE 1 : Writing in a new line in Text View. You can change lines using new line character ‘n’. Place this where the lines need to be changed. This will give you the desired format of the Text. Beware that the new line character should be appended with the word (“nHi”) and not with a space (“n Hi”).
So , there is a development I replaced the ' ' by a ':' and everything is working fine. So , the only question is what is the difference in using a ' ' or a ':' in this context.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With