0

I can use

Resources res=this.getResources();
arr1=res.getStringArray(R.array.one);

to get the array and changed some of its values,

Then how can I save the new values back to the file of res/values/array.xml?

1 Answer 1

0

You cannot "save the new values". Resources are read-only at runtime.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.