diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2016-08-02 16:53:19 -0400 |
---|---|---|
committer | Tobrun <tobrun.van.nuland@gmail.com> | 2016-08-03 14:59:14 -0400 |
commit | 533a3edb9c0d612d8ebcf4e0bfba24f9cb604f81 (patch) | |
tree | 773539051e7ecf9da7a50f799dd755a31383cfd6 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout | |
parent | 6016b2981e73be81f6a74a789ffabb51b7e91700 (diff) | |
download | qtlocation-mapboxgl-533a3edb9c0d612d8ebcf4e0bfba24f9cb604f81.tar.gz |
[android] #5801 - add setMediaOverlay example for a secondary SurfaceView
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_surfaceview_mediacontrols.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_surfaceview_mediacontrols.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_surfaceview_mediacontrols.xml new file mode 100644 index 0000000000..15394f8f33 --- /dev/null +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_surfaceview_mediacontrols.xml @@ -0,0 +1,31 @@ +<?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: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="wrap_content" + android:layout_below="@id/toolbar" + app:style_url="@string/style_light" /> + + <FrameLayout + android:id="@+id/container" + android:layout_width="match_parent" + android:layout_height="128dp" + android:layout_alignParentBottom="true" + android:paddingBottom="48dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" /> + +</RelativeLayout> |