R.string
res/values/strings.xml
xml
<resources>
<string name="message1">value is %1$d</string>
</resources>
kt
getString(R.string.message1, arg1)
res/values/strings.xml
<resources>
<string name="message1">value is %1$d</string>
</resources>
getString(R.string.message1, arg1)