aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout/fragment_map_wrapper.xml
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-17 22:03:48 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-17 22:03:48 -0600
commitaae38258ff929157ff35547e353265da01c80f9c (patch)
tree7677c64eebc6240c0675e2bbc3bb43727deb1286 /androidApp/src/main/res/layout/fragment_map_wrapper.xml
parentc3c57a26e62857434830c9b22bb4757edda2b202 (diff)
downloadetbsa-trackermap-mobile-aae38258ff929157ff35547e353265da01c80f9c.tar.gz
etbsa-trackermap-mobile-aae38258ff929157ff35547e353265da01c80f9c.tar.bz2
etbsa-trackermap-mobile-aae38258ff929157ff35547e353265da01c80f9c.zip
Fixed zooming selected unit and refactored attribution into wrap
Diffstat (limited to 'androidApp/src/main/res/layout/fragment_map_wrapper.xml')
-rw-r--r--androidApp/src/main/res/layout/fragment_map_wrapper.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/androidApp/src/main/res/layout/fragment_map_wrapper.xml b/androidApp/src/main/res/layout/fragment_map_wrapper.xml
index 479c855..f63f74e 100644
--- a/androidApp/src/main/res/layout/fragment_map_wrapper.xml
+++ b/androidApp/src/main/res/layout/fragment_map_wrapper.xml
@@ -60,6 +60,26 @@
app:layout_constraintTop_toBottomOf="@id/zoomOutButton"
android:visibility="gone" />
+ <!-- Attribution -->
+ <FrameLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:background="@color/colorAttributionBackground"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent">
+
+ <TextView
+ android:id="@+id/attributionText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ tools:text="Copyright (C) OpenStreetMap"
+ android:textSize="@dimen/attribution_text_size"
+ android:textColor="@color/colorAttributionText"
+ android:layout_margin="6dp" />
+
+ </FrameLayout>
+
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout> \ No newline at end of file