I have string resource like
<string name="my_string">Чек от %1$d до 2000 рублей</string>
and I use this string in the TextView and need to put default values on the view initialization . So, I know, what I can make it with context.getString(R.string.my_string, 100). But, I want to make it in the TextView xml definition.
Is there a way to use string formatting in TextView xml? Something like
android:text="@string/my_string{100}"
my_string