Balaji
Balaji

Reputation: 131

what is the use of string.xml and arrays.xml?

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

Answers (2)

Twobard
Twobard

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

anon
anon

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

Related Questions