settext resource variable android code example Example: android set text in textview programmatically from string resource getResources().getString(R.string.nome_stringa])