activity_show_location.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. tools:context=".ui.ShowLocationActivity" android:tag="layout/activity_show_location_0" 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">
  6. <include
  7. android:id="@+id/toolbar"
  8. layout="@layout/toolbar" />
  9. <org.osmdroid.views.MapView
  10. android:id="@+id/map"
  11. android:layout_width="fill_parent"
  12. android:layout_height="fill_parent"
  13. android:layout_below="@id/toolbar" />
  14. <android.support.design.widget.FloatingActionButton
  15. android:id="@+id/fab"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_alignParentEnd="true"
  19. android:layout_alignParentRight="true"
  20. android:layout_alignParentBottom="true"
  21. android:layout_gravity="end|bottom"
  22. android:layout_margin="16dp"
  23. android:contentDescription="@string/action_unfix_from_location"
  24. android:src="?attr/icon_directions"
  25. app:backgroundTint="?colorPrimary"
  26. app:tint="@color/white" />
  27. </RelativeLayout>