diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
index a014423e6..ae9c17922 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
@@ -121,6 +121,15 @@
android:name="@string/category"
android:value="@string/category_other" />
+
+
+
+
polygon = new ArrayList<>();
+ polygon.add(new LatLng(45.522585, -122.685699));
+ polygon.add(new LatLng(45.534611, -122.708873));
+ polygon.add(new LatLng(45.530883, -122.678833));
+ polygon.add(new LatLng(45.547115, -122.667503));
+ polygon.add(new LatLng(45.530643, -122.660121));
+ polygon.add(new LatLng(45.533529, -122.636260));
+ polygon.add(new LatLng(45.521743, -122.659091));
+ polygon.add(new LatLng(45.510677, -122.648792));
+ polygon.add(new LatLng(45.515008, -122.664070));
+ polygon.add(new LatLng(45.502496, -122.669048));
+ polygon.add(new LatLng(45.515369, -122.678489));
+ polygon.add(new LatLng(45.506346, -122.702007));
+ polygon.add(new LatLng(45.522585, -122.685699));
+ mapboxMap.addPolygon(new PolygonOptions()
+ .addAll(polygon)
+ .fillColor(Color.parseColor("#3bb2d0")));
+ }
+ });
+
+ // set as content view
+ setContentView(mapView);
+ }
+
+ @Override
+ public void onResume() {
+ super.onResume();
+ mapView.onResume();
+ }
+
+ @Override
+ public void onPause() {
+ super.onPause();
+ mapView.onPause();
+ }
+
+ @Override
+ protected void onSaveInstanceState(Bundle outState) {
+ super.onSaveInstanceState(outState);
+ mapView.onSaveInstanceState(outState);
+ }
+
+ @Override
+ protected void onDestroy() {
+ super.onDestroy();
+ mapView.onDestroy();
+ }
+
+ @Override
+ public void onLowMemory() {
+ super.onLowMemory();
+ mapView.onLowMemory();
+ }
+}
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml
index 564a5a509..4cce71dad 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/strings.xml
@@ -15,6 +15,7 @@
Animated Marker (experimental)
Dynamic Marker
Polyline
+ Polygone
Standard InfoWindow example
@@ -57,7 +58,8 @@
Map Padding example
Offline Map example
Animate the position change of a Marker
- Add a polyline example
+ Add a polyline to a map
+ Add a polygone to a map
Example with Directions API
Example with Geocoder API
Scroll with pixels in x,y direction