summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_simple.xml
diff options
context:
space:
mode:
authorPablo Guardiola <guardiola31337@hotmail.com>2016-11-22 04:05:29 -0500
committerTobrun <tobrun.van.nuland@gmail.com>2016-11-22 10:05:29 +0100
commit6ecad41858948029a14c9f388434ef9b426ac1e7 (patch)
treeb0f3180c4b4a698d46738ba4831cd25eebcfaca1 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_simple.xml
parentf92439d1807d743bddf48675df2414c7d0cd71d2 (diff)
downloadqtlocation-mapboxgl-6ecad41858948029a14c9f388434ef9b426ac1e7.tar.gz
Add simple map activity to testapp (#7136)
* [android] 6481 - add simple map activity to test app * [android] #6481 - exclude SimpleMapActivity
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_simple.xml')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_simple.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_simple.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_simple.xml
new file mode 100644
index 0000000000..4ad49e4a9f
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_map_simple.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <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" />
+
+</LinearLayout>