Commit f917ed22 authored by Varun Patil's avatar Varun Patil

fix(map): Move fab on card show, show card on top

parent 0fe4e228
...@@ -45,12 +45,28 @@ ...@@ -45,12 +45,28 @@
android:gravity="bottom"> android:gravity="bottom">
<!-- MAIN CONTENT --> <!-- MAIN CONTENT -->
<RelativeLayout
<com.mrane.zoomview.CampusMapView
android:id="@+id/campusMapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent">
android:paddingTop="48dp" />
<com.mrane.zoomview.CampusMapView
android:id="@+id/campusMapView"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:paddingTop="48dp" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/locate_fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="16dp"
android:layout_marginRight="16dp"
android:src="@drawable/ic_my_location_black_24dp"
android:tint="@android:color/black"
android:visibility="invisible" />
</RelativeLayout>
<!-- SLIDING LAYOUT --> <!-- SLIDING LAYOUT -->
<include layout="@layout/map_card_layout" /> <include layout="@layout/map_card_layout" />
...@@ -70,21 +86,4 @@ ...@@ -70,21 +86,4 @@
<include layout="@layout/loading_panel" /> <include layout="@layout/loading_panel" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.FloatingActionButton
android:id="@+id/locate_fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="96dp"
android:layout_marginRight="8dp"
android:src="@drawable/ic_my_location_black_24dp"
android:tint="@android:color/black"
android:visibility="invisible" />
</RelativeLayout>
</FrameLayout> </FrameLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment