summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout
diff options
context:
space:
mode:
authorTobrun Van Nuland <tobrun.van.nuland@gmail.com>2016-08-24 13:31:20 +0200
committerTobrun Van Nuland <tobrun.van.nuland@gmail.com>2016-08-24 13:31:20 +0200
commit7adf0c6a74a3521d60453bd0c6a0a73b95956d82 (patch)
treeebec064c6160be82c67e05ef538febfd0ae18a35 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout
parent9720f581ff614f625819c31ea6f26f61b930342b (diff)
downloadqtlocation-mapboxgl-7adf0c6a74a3521d60453bd0c6a0a73b95956d82.tar.gz
[android] #5238 - Add ordering based on adapter, each adapter has its own frame layoutupstream/5238-ViewAnnotationsZordering
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_marker_view_z.xml24
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_rectangle.xml5
2 files changed, 29 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_marker_view_z.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_marker_view_z.xml
new file mode 100644
index 0000000000..993d790a83
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_marker_view_z.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ 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="wrap_content"
+ 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"
+ app:center_latitude="38.897686"
+ app:center_longitude="-77.036589"
+ app:style_url="@string/style_mapbox_streets"
+ app:zoom="18" />
+
+</RelativeLayout> \ No newline at end of file
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_rectangle.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_rectangle.xml
new file mode 100644
index 0000000000..763d65948a
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/view_rectangle.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="512dp"
+ android:layout_height="512dp"
+ android:background="@color/mapbox_blue" /> \ No newline at end of file