Check out example codes for "android get text from string xml programmatically". It will help you in understanding the concepts better.

Code Example 1

Context context;
String mess = context.getString(R.string.mess_1)

Learn ReactJs, React Native from akashmittal.com