title: Android - having multiple resource xml files depending on dev environment
body: <p>I'm currently writing an android app, that interacts with an external server.</p>
  
  <p>I want to make sure that during the development, Android makes connection to a test server instance, but the application should make connection to a production server otherwise.</p>
  
  <p>Currently, URL of the server is stored in one of the xml files - res/values/strings.xml as
   <code>&lt;string name="server_url"&gt;XYZ.example.com&lt;/string&gt;</code>.</p>
  
  <p>Right now, I'm just modifying the xml files in local machines depending on my situation.</p>
  
  <p>What is the idiomatic way to handle case like this?</p>