what is the use of string.xml file in android?
is it like defining global strings if we have multiple .java files in android application? correct me if i am wrong

  • Reduce duplication and therefore many places to change if same string declared in multiple places
  • Easy way of managing and sharing resource that has to be translated if you need internatioanlization for application
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.