diff options
author | Brad Leege <bleege@gmail.com> | 2016-04-06 12:54:22 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2016-04-06 14:44:52 -0500 |
commit | 9a3e8ae571017071e09e6efdb60292c8d62b8bdd (patch) | |
tree | 0d27dc4c209026664bac020e4aca37905dfc1878 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_custom_layer.xml | |
parent | 8814463380c248d5163745ac12433beeae3ff051 (diff) | |
download | qtlocation-mapboxgl-9a3e8ae571017071e09e6efdb60292c8d62b8bdd.tar.gz |
[android] #4619 - Creating standalone CustomLayerActivity example
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_custom_layer.xml')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_custom_layer.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_custom_layer.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_custom_layer.xml new file mode 100644 index 0000000000..2b52f7d8fd --- /dev/null +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_custom_layer.xml @@ -0,0 +1,47 @@ +<?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"> + + </android.support.v7.widget.Toolbar> + + <FrameLayout + android:id="@+id/content_frame" + android:layout_width="match_parent" + android:layout_height="match_parent" + > + + <android.support.design.widget.CoordinatorLayout + android:id="@+id/coordinator_layout" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <com.mapbox.mapboxsdk.maps.MapView + android:id="@+id/mapView" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + + <android.support.design.widget.FloatingActionButton + android:id="@+id/fab" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="end|bottom" + android:layout_margin="@dimen/fab_margin" + android:src="@drawable/ic_layers_24dp" + app:backgroundTint="@android:color/white" + /> + + </android.support.design.widget.CoordinatorLayout> + + </FrameLayout> + +</LinearLayout> |