<string name="test_format_string">%1$s you are %2$d</string>
textView.setText(String.format(getResources().getString(R.string.test_format_string), "Jim",16));
<string name="test_format_string">%1$s you are %2$d</string>
textView.setText(String.format(getResources().getString(R.string.test_format_string), "Jim",16));