Swapped the copyright overlay for a simple text view, minor tweaks

This commit is contained in:
Arty Bishop committed 2020-09-19 20:19:41 +01:00
1 parent c1a2902012
commit df39d5c70b
3 files changed
+31 -39

No files matched your search

+24 -3
View File
@@ -1,7 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<org.osmdroid.views.MapView xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.fragments.MapOsmFragment" />
tools:context=".ui.fragments.MapOsmFragment">
<org.osmdroid.views.MapView
android:id="@+id/mapView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/osmCopyright"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/osmCopyright"
android:textColor="@color/athens_gray"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
+1
View File
@@ -170,4 +170,5 @@
<string name="tle_source">TLE source</string>
<string name="https_only">Please use HTTPS URLs only</string>
<string name="placeholder" translatable="false">Placeholder</string>
<string name="osmCopyright" translatable="false">Wikimedia maps | Map data © OpenStreetMap contributors</string>
</resources>