set text through xml code example Example: set text from strings.xml theButton.setText(getString(R.string.fu));