summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout
diff options
context:
space:
mode:
authorAntonio Zugaldia <antonio@mapbox.com>2016-10-10 21:19:05 -0400
committerGitHub <noreply@github.com>2016-10-10 21:19:05 -0400
commitabdf7b1199af0a190a5f9e0c2f670b97975210a3 (patch)
treeb9f452789ad5c36416a9454fa9fb0e1e9428dfe7 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout
parent5bbd27eb8fdf99098970fd973e1a945e240df949 (diff)
downloadqtlocation-mapboxgl-abdf7b1199af0a190a5f9e0c2f670b97975210a3.tar.gz
[android] #6635 - Sample multimap activity
* [android] sample multimap activity * add MultiMapActivity to excludeActivities in generate-test-code.js
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml72
1 files changed, 72 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml
new file mode 100644
index 0000000000..f8046a8821
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_multi_map.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:mapbox="http://schemas.android.com/tools"
+ android:id="@+id/map_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:id="@+id/map_container1"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="0.5"
+ android:orientation="horizontal">
+
+ <!-- DC -->
+ <fragment
+ android:id="@+id/map1"
+ class="com.mapbox.mapboxsdk.maps.SupportMapFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="0.5"
+ mapbox:center_latitude="38.913187"
+ mapbox:center_longitude="-77.032546"
+ mapbox:style_url="mapbox://styles/mapbox/streets-v9"
+ mapbox:zoom="12" />
+
+ <!-- SF -->
+ <fragment
+ android:id="@+id/map2"
+ class="com.mapbox.mapboxsdk.maps.SupportMapFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="0.5"
+ mapbox:center_latitude="37.775732"
+ mapbox:center_longitude="-122.413985"
+ mapbox:style_url="mapbox://styles/mapbox/outdoors-v9"
+ mapbox:zoom="13" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/map_container2"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="0.5"
+ android:orientation="horizontal">
+
+ <!-- Bangalore -->
+ <fragment
+ android:id="@+id/map3"
+ class="com.mapbox.mapboxsdk.maps.SupportMapFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="0.5"
+ mapbox:center_latitude="12.97913"
+ mapbox:center_longitude="77.59188"
+ mapbox:style_url="mapbox://styles/mapbox/light-v9"
+ mapbox:zoom="14" />
+
+ <!-- Ayacucho -->
+ <fragment
+ android:id="@+id/map4"
+ class="com.mapbox.mapboxsdk.maps.SupportMapFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="0.5"
+ mapbox:center_latitude="-13.155980"
+ mapbox:center_longitude="-74.217134"
+ mapbox:style_url="mapbox://styles/mapbox/dark-v9"
+ mapbox:zoom="15" />
+ </LinearLayout>
+</LinearLayout> \ No newline at end of file