diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-11-01 11:43:27 +0200 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2017-11-03 09:19:39 -0700 |
commit | 8753edf08f4634a9f49020741464a6b7dc61cf2d (patch) | |
tree | 16570c9173e217dab0736b350f260ff8e304c1a3 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_textureview_resize.xml | |
parent | 3b2bd7ce4f7087f51f2aeace22fe60c5c83ee1d9 (diff) | |
download | qtlocation-mapboxgl-8753edf08f4634a9f49020741464a6b7dc61cf2d.tar.gz |
[android] test app - texture view test activities
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_textureview_resize.xml')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_textureview_resize.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_textureview_resize.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_textureview_resize.xml new file mode 100644 index 0000000000..2baa3d39dd --- /dev/null +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_textureview_resize.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.design.widget.CoordinatorLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/coordinator_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + + <com.mapbox.mapboxsdk.maps.MapView + android:id="@+id/mapView" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:mapbox_renderTextureMode="true"/> + + <android.support.design.widget.FloatingActionButton + android:id="@+id/fabResize" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|right" + android:layout_marginBottom="@dimen/fab_margin" + android:layout_marginRight="@dimen/fab_margin" + android:src="@drawable/ic_refresh" + app:backgroundTint="@color/accent" + app:layout_anchorGravity="bottom"/> + +</android.support.design.widget.CoordinatorLayout> + |