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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.