aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-16 04:16:53 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-16 04:16:53 -0600
commit4a796e47bede0cbe5512868001c22b6889e9f72e (patch)
tree48aa1dfed3dcae88f0453c1c9c4788d04173f9e0 /androidApp/src/main/res/layout
parent51d42034f00cc640ff94c06333e2354c8e440a3f (diff)
parenta2ba612c515a53cb6e7f283858a518d60188651b (diff)
downloadetbsa-trackermap-mobile-4a796e47bede0cbe5512868001c22b6889e9f72e.tar.gz
etbsa-trackermap-mobile-4a796e47bede0cbe5512868001c22b6889e9f72e.tar.bz2
etbsa-trackermap-mobile-4a796e47bede0cbe5512868001c22b6889e9f72e.zip
Merge branch 'main' of https://git.sr.ht/~avalos/trackermap-mobile
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r--androidApp/src/main/res/layout/unit_map_fragment.xml23
1 files changed, 22 insertions, 1 deletions
diff --git a/androidApp/src/main/res/layout/unit_map_fragment.xml b/androidApp/src/main/res/layout/unit_map_fragment.xml
index 486f1ce..8395013 100644
--- a/androidApp/src/main/res/layout/unit_map_fragment.xml
+++ b/androidApp/src/main/res/layout/unit_map_fragment.xml
@@ -14,7 +14,8 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
- android:name="mx.trackermap.TrackerMap.android.map.MapFragment"/>
+ android:name="mx.trackermap.TrackerMap.android.map.MapFragment"
+ tools:visibility="invisible"/>
<androidx.cardview.widget.CardView
android:id="@+id/mapUnitCard"
@@ -121,4 +122,24 @@
</androidx.cardview.widget.CardView>
+ <!-- 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> \ No newline at end of file