You can also set string resource as parameter to other string resource using formatter like below:
Hello
World
%s lovely %s
and
android:text="@{String.format(@string/formatted_text, @string/first_param_text, @string/second_param_text)}"
"Hello lovely World" will appear on the view.