summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKDownstreamApp/src/main/res/layout/activity_main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKDownstreamApp/src/main/res/layout/activity_main.xml')
-rw-r--r--platform/android/MapboxGLAndroidSDKDownstreamApp/src/main/res/layout/activity_main.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKDownstreamApp/src/main/res/layout/activity_main.xml b/platform/android/MapboxGLAndroidSDKDownstreamApp/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000000..403db8afda
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDKDownstreamApp/src/main/res/layout/activity_main.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.constraint.ConstraintLayout
+ 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">
+
+ <com.mapbox.mapboxsdk.maps.MapView
+ android:id="@+id/mapView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+
+ <TextView
+ android:id="@+id/draggable_position_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone"/>
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fabStyles"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ android:tint="@android:color/white"
+ app:backgroundTint="@color/colorAccent"
+ app:fabSize="normal"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintRight_toRightOf="parent"
+ app:srcCompat="@drawable/mapbox_marker_icon_default"/>
+
+</android.support.constraint.ConstraintLayout> \ No newline at end of file