1

Hi now i am download one android sample source but why they are creating string.xml and arrays.xml file (res/value/string.xml and arrays.xml) I dont know what's the use of those xml file please help me....I am new for android application......

2 Answers 2

1

These files provide a central location for static application-wide data. Separating this data from the main application code could be seen as being beneficial to the overall application structure

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

Comments

0

These files can be used to provide resources to your application. String resources you can use to provide styled text or multi-language text. Array resources are often used for providing an array of drawable that can be for example used to build an animation.

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.