diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2016-08-23 12:53:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-23 12:53:36 +0200 |
commit | 50da6e5e715f0356f430fba176dea13d15fe9d52 (patch) | |
tree | 312f52f0e2294c10ff722289753473fc59f061ef /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout | |
parent | e1a6795a73af844ff63d99b35fb4695177d9494d (diff) | |
download | qtlocation-mapboxgl-50da6e5e715f0356f430fba176dea13d15fe9d52.tar.gz |
6039 focal point uses MyLocationView padding (#6108)
* [android] - don't auto tint drawables + formatting
* [android] - formatting
* [android] #6039 - fixes focal point when padding mylocationview
* [android] #5977 - MyLocationView.setPadding example + formatting Manifest
* [android] - Reset to default configuration, cleanup class
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_car_driving.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_car_driving.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_car_driving.xml new file mode 100644 index 0000000000..c61055ee4e --- /dev/null +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_car_driving.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout 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="match_parent" + app:my_location_foreground_tint="@color/primary" + app:my_location_accuracy_tint="@color/primary" + app:style_url="@string/style_mapbox_streets" + app:zoom="15" /> + +</LinearLayout> |