Bimba.git

commit 787612427ebc0539218831fb150af95f6bba3931

Author: Adam Evyčędo <git@apiote.xyz>

hide initially unneeded fields

 app/src/main/res/layout/departure_bottom_sheet.xml | 2 ++
 app/src/main/res/layout/favourite.xml | 12 +++++++-----


diff --git a/app/src/main/res/layout/departure_bottom_sheet.xml b/app/src/main/res/layout/departure_bottom_sheet.xml
index 8f69b25563772a87a3ce920cdbc550b93adcdc05..f2bb7dc23101df9ee440b0a8997d2ebbfbe753ce 100644
--- a/app/src/main/res/layout/departure_bottom_sheet.xml
+++ b/app/src/main/res/layout/departure_bottom_sheet.xml
@@ -46,6 +46,7 @@         android:id="@+id/departure_status"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_marginTop="8dp"
+        android:visibility="gone"
         android:textAppearance="@style/TextAppearance.Material3.BodySmall"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
@@ -57,6 +58,7 @@         android:id="@+id/departure_time"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_marginTop="0dp"
+        android:visibility="gone"
         android:textAppearance="@style/TextAppearance.Material3.DisplaySmall"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"




diff --git a/app/src/main/res/layout/favourite.xml b/app/src/main/res/layout/favourite.xml
index 95a9c6df8a26ff0f088dff74b94e33c311ccc7e5..c4175c5cfe973887027f17ba67804556823382f4 100644
--- a/app/src/main/res/layout/favourite.xml
+++ b/app/src/main/res/layout/favourite.xml
@@ -7,10 +7,10 @@  	xmlns:app="http://schemas.android.com/apk/res-auto"
 	xmlns:tool="http://schemas.android.com/tools"
 	android:id="@+id/favourite"
-	android:layout_marginTop="8dp"
-	android:layout_marginBottom="8dp"
 	android:layout_width="match_parent"
-	android:layout_height="wrap_content">
+	android:layout_height="wrap_content"
+	android:layout_marginTop="8dp"
+	android:layout_marginBottom="8dp">
 
 	<androidx.constraintlayout.widget.ConstraintLayout
 		android:layout_width="match_parent"
@@ -53,12 +53,13 @@ 		 			android:id="@+id/arrival_status"
 			android:layout_width="wrap_content"
 			android:layout_height="wrap_content"
-			android:layout_marginEnd="8dp"
 			android:layout_marginTop="8dp"
+			android:layout_marginEnd="8dp"
 			android:textAppearance="@style/TextAppearance.Material3.LabelSmall"
 			app:layout_constraintEnd_toEndOf="parent"
 			app:layout_constraintTop_toTopOf="parent"
 			tool:text="approx. arr." />
+
 		<com.google.android.material.textview.MaterialTextView
 			android:id="@+id/arrival_time"
 			android:layout_width="wrap_content"
@@ -83,12 +84,13 @@ 		 			android:id="@+id/departure_status"
 			android:layout_width="wrap_content"
 			android:layout_height="wrap_content"
-			android:layout_marginEnd="8dp"
 			android:layout_marginTop="8dp"
+			android:layout_marginEnd="8dp"
 			android:textAppearance="@style/TextAppearance.Material3.LabelSmall"
 			app:layout_constraintEnd_toEndOf="parent"
 			app:layout_constraintTop_toTopOf="@+id/departure_line"
 			tool:text="approx. dep." />
+
 		<com.google.android.material.textview.MaterialTextView
 			android:id="@+id/departure_time"
 			android:layout_width="wrap_content"