diff --git a/vector/src/main/res/layout/fragment_public_rooms.xml b/vector/src/main/res/layout/fragment_public_rooms.xml index 610e923383..de6fa43685 100644 --- a/vector/src/main/res/layout/fragment_public_rooms.xml +++ b/vector/src/main/res/layout/fragment_public_rooms.xml @@ -5,22 +5,33 @@ xmlns:tools="http://schemas.android.com/tools" android:id="@+id/publicRoomsCoordinator" android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="?riotx_header_panel_background"> + android:layout_height="match_parent"> - + android:layout_height="match_parent" + android:background="?riotx_header_panel_background" + app:layout_behavior="@string/appbar_scrolling_view_behavior" + tools:listitem="@layout/item_public_room" /> + + + app:layout_constraintTop_toTopOf="parent" + app:layout_scrollFlags="scroll|exitUntilCollapsed|snap|enterAlways"> - - - + \ No newline at end of file