I have android app and this string in resources:
Select up to %1$d people!
Thi
For the formatting of the string to be correct:
String.format(Locale.ENGLISH, itemView.context.getString(R.string.XXX), "%17")
Also the special characters do not have to interfere with the injection of parameters. For that, take into account the exhaust outlets for special characters
From:
To:
Finally XXX is "%17"
Good Luck.
Source