You can try this way. such as
first create a string value in res / values /string.xml. eg
<string name="copyright">\u2117 2011 copyright</string>
then you get it from your activity class this way. such as
TextView tvHeader = (TextView) findViewById(R.id.tvHeader);
tvHeader.setText(getResources().getString(
R.string.copyright));
user3167588
source
share