" + getResources().getString(R.string.start_location) + ": " + route.getLocations().get(0).getName() + " " + "" + getResources().getString(R.string.end_location) + ": " + route.getLocations().get(route.getLocations().size()-1).getName();
+ routeDetailText.setText(Html.fromHtml(detailText));
+
TextView totalDistance = view.findViewById(R.id.total_distance);
String distance_tekst = getResources().getString(R.string.total_distance_route);
diff --git a/app/src/main/res/layout/fragment_location_detail.xml b/app/src/main/res/layout/fragment_location_detail.xml
index a89a336..3a68b38 100644
--- a/app/src/main/res/layout/fragment_location_detail.xml
+++ b/app/src/main/res/layout/fragment_location_detail.xml
@@ -46,6 +46,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/secondaryColour"
+ android:layout_marginHorizontal="20dp"
android:text=""
/>
diff --git a/app/src/main/res/layout/fragment_route_detail.xml b/app/src/main/res/layout/fragment_route_detail.xml
index 3eb21d2..bc35974 100644
--- a/app/src/main/res/layout/fragment_route_detail.xml
+++ b/app/src/main/res/layout/fragment_route_detail.xml
@@ -37,19 +37,27 @@
android:id="@+id/route_detail_image"
app:layout_constraintTop_toBottomOf="@id/route_detail_back_button"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintBottom_toTopOf="@id/reoute_detail_tekst" />
+ app:layout_constraintEnd_toEndOf="parent"/>
-
+ app:layout_constraintEnd_toEndOf="parent"
+ >
+
+
+
+
+ app:layout_constraintTop_toBottomOf="@+id/route_scroll_view" />
\ No newline at end of file
diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml
index b18831e..1fd5ed6 100644
--- a/app/src/main/res/values-nl/strings.xml
+++ b/app/src/main/res/values-nl/strings.xml
@@ -20,10 +20,14 @@
activerenKlaarDe totale afstand van de route is:
+ Route is gestopt!annulerenEngelsNederlandsChineesHELPOnderaan het scherm zijn verschillende knoppen te zien. Deze knoppen hebben de volgende functies: \n\nLocaties: toont een lijst met alle locaties die bezocht kunnen worden. Elke locatie wordt kort beschreven. \n\nRoutes: Toont een lijst met alle routes die gelopen kunnen worden. Van elke route wordt een omschrijving gegeven. \n\nStatistieken: Toont persoonlijke statistieken. \n\nInstellingen: Hier kunnen app-instellingen worden aangepast naar eigen voorkeur. \n\nEen locatie ingedrukt houden laat extra informatie zien over de gekozen locatie
+ Eind locatie
+ Start locatie
+ "Deze route bevat de volgende locaties: "
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index c965083..5e11aa5 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -25,4 +25,7 @@
ChineseHELPHasn\'t been translated yet
+ This route contains the following locations:
+ End location
+ Start location
\ No newline at end of file