summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2016-04-04 14:24:03 -0500
committerBrad Leege <bleege@gmail.com>2016-04-05 11:51:08 -0500
commitfc7799d2248c79cfeaee8b9c9c5e6977fbd112a1 (patch)
treeb4624e3be3183a21dac9dc13bc371be918d98186 /platform
parent63780d07f3af392338ae88f53fea726195c9c7ff (diff)
downloadqtlocation-mapboxgl-fc7799d2248c79cfeaee8b9c9c5e6977fbd112a1.tar.gz
[android] #4365 - Making geocoder instructions more descriptive.
Diffstat (limited to 'platform')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/api/GeocoderActivity.java2
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/api/GeocoderActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/api/GeocoderActivity.java
index 3dc154a880..d9612da3f2 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/api/GeocoderActivity.java
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/api/GeocoderActivity.java
@@ -56,7 +56,7 @@ public class GeocoderActivity extends AppCompatActivity {
}
textView = (TextView) findViewById(R.id.message);
- setMessage("Tap the map to trigger the geocoder.");
+ setMessage(getString(R.string.geocoder_instructions));
mapView = (MapView) findViewById(R.id.mapView);
mapView.setAccessToken(getString(R.string.mapbox_access_token));
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml
index 5ceabacff2..07e8aae581 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml
@@ -127,4 +127,6 @@
<string name="dialog_camera_position">Animate to new position</string>
+ <string name="geocoder_instructions">Tap Map To Geocode Where Black Marker Is Currently Located</string>
+
</resources>