diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2016-10-20 15:45:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-20 15:45:57 +0200 |
commit | 04a9a98b98d41312a687518fd43445a64dadadf0 (patch) | |
tree | 05f3809f194d18264ae8ca45137f0cdb9ae120a4 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res | |
parent | ab63a9494f109245f9bd81839e2576b60a34cd2c (diff) | |
download | qtlocation-mapboxgl-04a9a98b98d41312a687518fd43445a64dadadf0.tar.gz |
[android] - add realtime geojson example from gl-js (#6751)
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_default.xml | 19 | ||||
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml | 2 |
2 files changed, 21 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_default.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_default.xml new file mode 100644 index 0000000000..742f6612bd --- /dev/null +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_default.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <android.support.v7.widget.Toolbar + android:id="@+id/toolbar" + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" + android:background="@color/primary" + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" /> + + <com.mapbox.mapboxsdk.maps.MapView + android:id="@+id/mapView" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_below="@id/toolbar" /> + +</RelativeLayout> diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml index 3d5bf863d8..a4f19f1e01 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml @@ -60,6 +60,7 @@ <string name="activity_runtime_style">Runtime Style</string> <string name="activity_style_file">Local Style file</string> <string name="activity_geojson_clustering">GeoJson Clustering</string> + <string name="activity_geojson_realtime">Add live realtime data</string> <string name="activity_print">Print a map</string> <string name="activity_surfaceview_overlay">SurfaceView MediaOverlay</string> <string name="activity_query_rendered_feature_properties">Query feature properties</string> @@ -113,6 +114,7 @@ <string name="description_circle">Use GeoJson source to show a circle</string> <string name="description_custom_sprite">Use a custom sprite in a Symbol Layer</string> <string name="description_geojson_clustering">Use GeoJson sources and dynamic layers to cluster information</string> + <string name="description_geojson_realtime">Use realtime GeoJSON data streams to move a symbol on your map</string> <string name="description_print">Shows how to print a map</string> <string name="description_navigation_drawer">Test animation of Android SDK View components</string> <string name="description_surfaceview_mediacontrols">Test overlaying SurfaceView</string> |