I have android app and this string in resources:
Select up to %1$d people!
Thi
Set parameter formatted to true in resources:
Use for String.format method. Parameter one: %s1
and use this way:
String.format(context.getString(R.string.some_text,"value 1"))
or this way:
context.getString(R.string.some_text,"value 1"))
Note:formatted flag should be set to true only for strings with placeholders