Improve layout using CoordinatorLayout for better FAB behavior

Co-authored-by: adbenitez <24558636+adbenitez@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-24 18:51:22 +00:00
parent 57243b50aa
commit 3ffdd2150c
@@ -1,16 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="?android:attr/windowBackground">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/transport_list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingTop="8dp"
android:paddingBottom="8dp"
@@ -26,4 +25,4 @@
android:contentDescription="@string/add_transport"
android:src="@drawable/ic_add_white_24dp" />
</LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>