<?xml version="1.0" encoding="utf-8"?>

<!-- Resources related to the network configuration. -->
<resources
    xmlns:tools="http://schemas.android.com/tools"
    tools:ignore="UnusedResources">

    <!-- The root URLs for OpenMRS on each of our three different configurations: GCE, Edison on
         LAN, and localhost emulator. It would have been nice to separate the host and path
         components but you cannot concatenate string resources in XML. -->
    <string name="openmrs_root_url_gce">
        http://104.155.15.141:8080/openmrs
    </string>
    <string name="openmrs_root_url_edison">
        http://10.0.0.50:8080/openmrs
    </string>
    <string name="openmrs_url_localhost">
        http://10.0.2.2:8080/openmrs
    </string>

    <!-- The default values for OpenMRS options. -->
    <string name="openmrs_root_url_default">@string/openmrs_root_url_gce</string>
    <string name="openmrs_user_default">android</string>
    <string name="openmrs_password_default">Android123</string>

    <!-- The default value for whether to keep XForm instances locally. -->
    <bool name="keep_form_instances_locally_default">false</bool>

    <!-- The default value for whether Xform submission should update the client cache -->
    <bool name="xform_update_client_cache">true</bool>

</resources>

<?xml version="1.0" encoding="utf-8"?>

<!-- Resources related to the network configuration. -->
<resources
    xmlns:tools="http://schemas.android.com/tools"
    tools:ignore="UnusedResources">

    <!-- See build.gradle for the default OpenMRS root URL, username, and password, -->
    <!-- which can be set with parameters passed into Gradle at build time. -->

    <!-- The default value for whether to keep XForm instances locally. -->
    <bool name="keep_form_instances_locally_default">false</bool>

    <!-- The default value for whether Xform submission should update the client cache -->
    <bool name="xform_update_client_cache">true</bool>

</resources>

Define server root URL, user, and password in build.gradle.
Define server root URL, user, and password in build.gradle.
