diff options
author | Brad Leege <bleege@gmail.com> | 2016-04-04 14:24:03 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2016-04-05 11:51:08 -0500 |
commit | fc7799d2248c79cfeaee8b9c9c5e6977fbd112a1 (patch) | |
tree | b4624e3be3183a21dac9dc13bc371be918d98186 /platform | |
parent | 63780d07f3af392338ae88f53fea726195c9c7ff (diff) | |
download | qtlocation-mapboxgl-fc7799d2248c79cfeaee8b9c9c5e6977fbd112a1.tar.gz |
[android] #4365 - Making geocoder instructions more descriptive.
Diffstat (limited to 'platform')
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> |