Reputation: 131
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......
Upvotes: 1
Views: 2045
Reputation: 2583
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
Upvotes: 1
Reputation:
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.
Upvotes: 0