summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLDownstreamTestApp/src/main/res/layout/activity_main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/MapboxGLDownstreamTestApp/src/main/res/layout/activity_main.xml')
-rw-r--r--platform/android/MapboxGLDownstreamTestApp/src/main/res/layout/activity_main.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/platform/android/MapboxGLDownstreamTestApp/src/main/res/layout/activity_main.xml b/platform/android/MapboxGLDownstreamTestApp/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000000..f2f88f7330
--- /dev/null
+++ b/platform/android/MapboxGLDownstreamTestApp/src/main/res/layout/activity_main.xml
@@ -0,0 +1,49 @@
+<?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"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:fitsSystemWindows="true">
+
+ <com.mapbox.mapboxsdk.maps.MapView
+ android:id="@+id/mapView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:mapbox_cameraTargetLat="40.7448"
+ app:mapbox_cameraTargetLng="-73.9861"
+ app:mapbox_cameraZoom="12"
+ app:mapbox_uiAttribution="false"/>
+
+ <TextView
+ android:id="@+id/primaryRouteIndexTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top|start"
+ android:background="@android:color/transparent"/>
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fabStyles"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end|bottom"
+ android:layout_marginBottom="82dp"
+ android:layout_marginEnd="16dp"
+ android:layout_marginRight="16dp"
+ android:src="@drawable/ic_arrow_up"
+ android:tint="@android:color/white"
+ app:backgroundTint="@color/colorAccent"
+ app:layout_anchorGravity="top"/>
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fabToggleAlternatives"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end|bottom"
+ android:layout_margin="16dp"
+ android:src="@drawable/ic_clear"
+ android:tint="@android:color/white"
+ app:backgroundTint="@color/colorPrimary"/>
+
+</android.support.design.widget.CoordinatorLayout> \ No newline at end of file