Getting a String from Plurals to use in XML? March 20, 2023 by Tarik You have to set it by code: ...setText(yourContext.getResources().getQuantityString(R.plurals.cats, catsCountVar));