Author: Adam <git@apiote.xyz>
fix line text on departure bottom sheet
app/src/main/res/layout/departure_bottom_sheet.xml | 5 +++--
diff --git a/app/src/main/res/layout/departure_bottom_sheet.xml b/app/src/main/res/layout/departure_bottom_sheet.xml index 3e23d61b28f76ee2f04df27ab8f67b968ee90ab4..9492c659506ca1c83c191b3c3dfdbd6ff9c8416c 100644 --- a/app/src/main/res/layout/departure_bottom_sheet.xml +++ b/app/src/main/res/layout/departure_bottom_sheet.xml @@ -57,16 +57,17 @@ <!-- todo center text --> <com.google.android.material.textview.MaterialTextView android:id="@+id/line" - android:layout_width="wrap_content" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginTop="8dp" android:layout_marginEnd="8dp" + android:textAlignment="center" android:textAppearance="@style/TextAppearance.Material3.HeadlineSmall" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/time" - tool:text="Metropolitan » Tower Hill" /> + tool:text="Metropolitan » Aleje Marcinkowskiego" /> <Button android:id="@+id/map_button"