I would like to add a margin/padding between two words in a string.
I'm currently using SpannableString in order to customize the string. For font color and size etc. Now I need to add a fixed margin between the words. I tried adding \n\n in strings.xml but it is not accurate. What I did currently,
<string name="registration_success">You have been successfully registered
and your number is: \n\n%1$s</string>
Any other ways?