diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-17 22:03:48 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-17 22:03:48 -0600 |
commit | aae38258ff929157ff35547e353265da01c80f9c (patch) | |
tree | 7677c64eebc6240c0675e2bbc3bb43727deb1286 /androidApp/src/main/res/layout | |
parent | c3c57a26e62857434830c9b22bb4757edda2b202 (diff) | |
download | etbsa-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')
-rw-r--r-- | androidApp/src/main/res/layout/fragment_map_wrapper.xml | 20 | ||||
-rw-r--r-- | androidApp/src/main/res/layout/unit_map_fragment.xml | 20 |
2 files changed, 20 insertions, 20 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 diff --git a/androidApp/src/main/res/layout/unit_map_fragment.xml b/androidApp/src/main/res/layout/unit_map_fragment.xml index 9eb92de..da91e8c 100644 --- a/androidApp/src/main/res/layout/unit_map_fragment.xml +++ b/androidApp/src/main/res/layout/unit_map_fragment.xml @@ -143,24 +143,4 @@ </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 |