summaryrefslogtreecommitdiff
path: root/android/java/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_main.xml
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2015-07-24 15:53:29 -0500
committerBrad Leege <bleege@gmail.com>2015-07-24 15:53:29 -0500
commit53c3b0b81aca7411e31da2dba385d61d29242036 (patch)
treef806db6d2721ffe8cceb80fd737390527df39b17 /android/java/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_main.xml
parent6974200867607f0213f6409fac0a899ce46b10ff (diff)
downloadqtlocation-mapboxgl-53c3b0b81aca7411e31da2dba385d61d29242036.tar.gz
#1929 - Converted to use Activity instead of Fragment
Diffstat (limited to 'android/java/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_main.xml')
-rw-r--r--android/java/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_main.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/android/java/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_main.xml b/android/java/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_main.xml
index 6a9bf8266a..13577d3a3a 100644
--- a/android/java/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_main.xml
+++ b/android/java/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_main.xml
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:mapbox="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
@@ -29,6 +31,7 @@
android:layout_height="fill_parent"
android:orientation="vertical">
+<!--
<fragment
android:name="com.mapbox.mapboxgl.testapp.MapFragment"
android:id="@+id/fragment_map"
@@ -36,6 +39,13 @@
android:layout_height="match_parent"
tools:context="${packageName}.${activityClass}"
tools:layout="@layout/fragment_main" />
+-->
+
+ <com.mapbox.mapboxgl.views.MapView
+ android:id="@+id/mainMapView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ mapbox:accessToken=""/>
<ImageView
android:id="@+id/view_compass"