I am new in Android Studio and i like the idea of having a resources files so I open a resource file (xml) in the name of integers and i put this code in him:
<?xml version="1.0" encoding="utf-8"?>
Integer zomry101 = new Integer(this.getResources().getInteger(R.integer.omry));
First thing's first Resources CAN NOT be Changed or Modified once an apk has been built. You can only add values to resources that need not to be modified.
Have a look at this for easy to use