diff --git a/app/src/main/res/layout/fragment_coupon.xml b/app/src/main/res/layout/fragment_coupon.xml index bdbbc67..20baf40 100644 --- a/app/src/main/res/layout/fragment_coupon.xml +++ b/app/src/main/res/layout/fragment_coupon.xml @@ -12,6 +12,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="9dp" + android:layout_marginTop="20dp" android:text="Statistics" android:textSize="20sp" app:layout_constraintStart_toEndOf="@id/couponBackButton" @@ -21,10 +22,11 @@ android:id="@+id/couponBackButton" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginStart="10dp" + android:layout_marginTop="12dp" android:background="@drawable/ic_back_button_24" android:backgroundTint="@color/buttonColour" android:text="Back" - android:layout_margin="10dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index f20aeb6..04010ac 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -6,7 +6,6 @@ android:layout_height="match_parent" tools:context=".fragments.HomeFragment"> - diff --git a/app/src/main/res/layout/fragment_location.xml b/app/src/main/res/layout/fragment_location.xml index 4816ef1..7277118 100644 --- a/app/src/main/res/layout/fragment_location.xml +++ b/app/src/main/res/layout/fragment_location.xml @@ -12,6 +12,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="9dp" + android:layout_marginTop="20dp" android:text="Locations" android:textSize="20sp" app:layout_constraintStart_toEndOf="@id/locationBackButton" @@ -21,10 +22,11 @@ android:id="@+id/locationBackButton" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginStart="10dp" + android:layout_marginTop="12dp" android:background="@drawable/ic_back_button_24" android:backgroundTint="@color/buttonColour" android:text="Back" - android:layout_margin="10dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/fragment_location_detail.xml b/app/src/main/res/layout/fragment_location_detail.xml index 17b7203..c9e0124 100644 --- a/app/src/main/res/layout/fragment_location_detail.xml +++ b/app/src/main/res/layout/fragment_location_detail.xml @@ -44,11 +44,11 @@ android:id="@+id/detail_location_back_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:src="@drawable/ic_back_button_24" + android:layout_marginStart="10dp" + android:layout_marginTop="12dp" android:backgroundTint="@color/primaryColour" - app:layout_constraintBottom_toBottomOf="@+id/detail_location_name" - app:layout_constraintEnd_toStartOf="@+id/detail_location_name" + android:src="@drawable/ic_back_button_24" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="@+id/detail_location_name" /> + app:layout_constraintTop_toTopOf="parent" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_route_detail.xml b/app/src/main/res/layout/fragment_route_detail.xml index 197630c..9eaa3c0 100644 --- a/app/src/main/res/layout/fragment_route_detail.xml +++ b/app/src/main/res/layout/fragment_route_detail.xml @@ -46,36 +46,24 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginHorizontal="20dp" - android:layout_marginBottom="100dp" - app:layout_constraintBottom_toTopOf="@id/startRouteText" + android:layout_marginTop="56dp" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="0.6" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/routeDetailImage" /> - - - + app:layout_constraintHorizontal_bias="0.498" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/routeDetailText" + app:layout_constraintVertical_bias="0.671" /> + \ No newline at end of file