0

I am new android devloper.I have change color runtime so i want to create color.xml in java programming.i have hint to create this.i have declare all color.java in android

1 Answer 1

1

You cannot generate resource files or change the contents of existing resource files at runtime.

If you want to change colors at runtime, you will need to use an alternate method.

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.