Both work, obviously if you start concatenating you\'ll need get string in order to avoid displaying an int.
Question: which is the most \'elegant\' or \'recommende
You can add
yourEditText.setText(getResources().getString(R.string.mytext));
because you need get the resource context, after get the string.