Even if you use string formatting sometimes you still need white spaces at the beginning or the end. On these cases neither escaping with \ nor using or the xml:space attribute helps.
You must use the UTF character \u0020 for white spaces. Just type this succession of characters and it will be interpreted as a space. The \u part tells android that the following number represents the character in the UTF table.
This comment has been removed by the author.
ReplyDeleteok thank you for this tip, but how can we use that xml encoding, what is it ? i am googleing it like one hour and found nothing
ReplyDelete(deleted other one becouse of typo)
This comment has been removed by the author.
ReplyDeleteI use code   ; to add spaces.
ReplyDelete