diff options
author | Brad Leege <bleege@gmail.com> | 2016-04-25 18:23:14 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2016-04-26 17:07:23 -0500 |
commit | 0b5a9942463929f6a73d33c5ce15f2e2c5e4f721 (patch) | |
tree | bc5dae2d128a9fcff6692db6d85c4e87b93bd7f1 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_my_location_toggle.xml | |
parent | 8d5a6b515f030ed832f3fdf1b0b3e24a4050dc3f (diff) | |
download | qtlocation-mapboxgl-0b5a9942463929f6a73d33c5ce15f2e2c5e4f721.tar.gz |
[android] #4835 - Initial setup of MyLocationToggle UI
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_my_location_toggle.xml')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_my_location_toggle.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_my_location_toggle.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_my_location_toggle.xml new file mode 100644 index 0000000000..0d7581b6ef --- /dev/null +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_my_location_toggle.xml @@ -0,0 +1,23 @@ +<?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:access_token="@string/mapbox_access_token" + app:style_url="@string/style_mapbox_streets" + app:zoom="15" /> + +</LinearLayout> |