diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-16 04:02:30 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-16 04:02:30 -0600 |
commit | 594a0e7dc5680b495770876afba931b30d667264 (patch) | |
tree | d451027198866bacc7a9404d11380276cb65e7e9 /androidApp/src/main/res/layout | |
parent | 317d132e092ea9e1f8d5e1d30b9fad38e6c6200b (diff) | |
download | etbsa-trackermap-mobile-594a0e7dc5680b495770876afba931b30d667264.tar.gz etbsa-trackermap-mobile-594a0e7dc5680b495770876afba931b30d667264.tar.bz2 etbsa-trackermap-mobile-594a0e7dc5680b495770876afba931b30d667264.zip |
Added attribution and refactored map layers code
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r-- | androidApp/src/main/res/layout/unit_map_fragment.xml | 23 |
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 |