From bf1c5d0ac40b6638b94baef09f715927f43f4b39 Mon Sep 17 00:00:00 2001 From: RemoMeijer Date: Mon, 14 Dec 2020 14:20:54 +0100 Subject: [PATCH] Added fragment_location layout and location_item layout --- app/src/main/res/layout/fragment_location.xml | 35 ++++++++++++++++--- app/src/main/res/layout/location_item.xml | 29 ++++++++++++--- 2 files changed, 55 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/fragment_location.xml b/app/src/main/res/layout/fragment_location.xml index 83d75d2..11a47f1 100644 --- a/app/src/main/res/layout/fragment_location.xml +++ b/app/src/main/res/layout/fragment_location.xml @@ -1,11 +1,38 @@ - + + + + - \ No newline at end of file + android:layout_width="0dp" + android:layout_height="0dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/routeBackButton" /> + \ No newline at end of file diff --git a/app/src/main/res/layout/location_item.xml b/app/src/main/res/layout/location_item.xml index df6ef28..d5cee0b 100644 --- a/app/src/main/res/layout/location_item.xml +++ b/app/src/main/res/layout/location_item.xml @@ -1,7 +1,26 @@ - \ No newline at end of file + android:layout_height="50dp" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:background="@color/secondaryColour" + android:layout_margin="20dp"> + + + + + + \ No newline at end of file