I have a string resource like this
<string name="my_string">Fancy string with an %1$s placeholder</string>
and I would like to have this as output: "Fancy string with an amazing placeholder". Which is the string with the content of the placeholder in bold.
How can I get the desired output?
See Question&Answers more detail:os