Could anyone please explain why having hard-coded strings is so bad?
What issues should I expect if I hardcode strings?
Why having a separate string xml file solves those is
A string is a simple resource that is referenced using the value provided in the name attribute (not the name of the XML file). So, you can combine string resources with other simple resources in the one XML file, under one element.