aboutsummaryrefslogtreecommitdiff
path: root/Client/BrzoDoLokacije/app/src/main/res/layout
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-11-13 21:36:02 +0100
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-11-13 21:36:02 +0100
commit7c4295f6edd0074733c628300bdb4e6c8b4fd8ef (patch)
tree84c44e401dca0b80ec46f1f02ca74fe9b9cf4c7c /Client/BrzoDoLokacije/app/src/main/res/layout
parentc2617ba1bb0481c045a161c7e1acc841ec169bf5 (diff)
Dodata myLocatio na mapi. Dodato dogme da korisnik moze da ode do svoje lokacije.
Diffstat (limited to 'Client/BrzoDoLokacije/app/src/main/res/layout')
-rw-r--r--Client/BrzoDoLokacije/app/src/main/res/layout/fragment_browse.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_browse.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_browse.xml
index cdccaa6..5f20c5f 100644
--- a/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_browse.xml
+++ b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_browse.xml
@@ -45,5 +45,20 @@
app:rippleColor="#FFFFFF"
app:srcCompat="@android:drawable/ic_search_category_default" />
+ <com.google.android.material.floatingactionbutton.FloatingActionButton
+ android:id="@+id/FragmentBrowseMyLocation"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentStart="true"
+ android:backgroundTint="#FFFFFF"
+ android:layout_marginBottom="80dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:tint="#FFFFFF"
+ app:layout_constraintBottom_toBottomOf="@+id/FragmentBrowseMapView"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:rippleColor="#FFFFFF"
+ app:srcCompat="@android:drawable/ic_menu_mylocation" />
+
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file