summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2016-08-31 21:27:01 +0200
committerGitHub <noreply@github.com>2016-08-31 21:27:01 +0200
commit57e7cc97d087b459facf7bbd49c1d05b7c4ca467 (patch)
tree96f87d70824676a3e4199a0c2d224243fe843964 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout
parentfe28b57fe08bcd1069dad8fd47827da6bd835285 (diff)
downloadqtlocation-mapboxgl-57e7cc97d087b459facf7bbd49c1d05b7c4ca467.tar.gz
[android] - fix breaking build on master (#6225)
* [android] - fix breaking build, by implementing mapboxMap on VideoViewActivity * fix layout file for auto generated tests * [android] fix resource id
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_video_view.xml13
1 files changed, 6 insertions, 7 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_video_view.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_video_view.xml
index 25b589260e..979b30d2b4 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_video_view.xml
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_video_view.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:mapbox="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@@ -12,7 +11,7 @@
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/primary"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"/>
+ android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
<VideoView
android:id="@+id/video_view"
@@ -21,18 +20,18 @@
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
- android:layout_margin="16dp"/>
+ android:layout_margin="16dp" />
<com.mapbox.mapboxsdk.maps.MapView
- android:id="@+id/map_view"
+ android:id="@id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/toolbar"
+ mapbox:attribution_gravity="top"
mapbox:center_latitude="34.4021"
mapbox:center_longitude="-119.7081"
- mapbox:attribution_gravity="top"
mapbox:logo_gravity="top"
mapbox:style_url="mapbox://styles/mapbox/streets-v9"
- mapbox:zoom="13"/>
+ mapbox:zoom="13" />
</RelativeLayout> \ No newline at end of file