Author: Adam <git@apiote.xyz>
fix recycler cut at the bottom
app/src/main/res/layout/activity_departures.xml | 4 ++-- app/src/main/res/layout/activity_results.xml | 3 ++-
diff --git a/app/src/main/res/layout/activity_departures.xml b/app/src/main/res/layout/activity_departures.xml index 24eb489bca14053dbfd46471fd0960428cbbfbb7..81649a0c4b35fff32622ac71c348438035fd5da1 100644 --- a/app/src/main/res/layout/activity_departures.xml +++ b/app/src/main/res/layout/activity_departures.xml @@ -43,12 +43,12 @@ </com.google.android.material.appbar.AppBarLayout> - <!-- is cut at the bottom --> <androidx.recyclerview.widget.RecyclerView android:id="@+id/departures_recycler" android:layout_width="match_parent" android:layout_height="match_parent" - + android:clipToPadding="false" + android:fitsSystemWindows="true" android:visibility="gone" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> diff --git a/app/src/main/res/layout/activity_results.xml b/app/src/main/res/layout/activity_results.xml index 5da29b4134691ec1c55cd50e76cead7aecbfceae..33184f38545b8294990827b54cb99eb79f2a7bf1 100644 --- a/app/src/main/res/layout/activity_results.xml +++ b/app/src/main/res/layout/activity_results.xml @@ -38,7 +38,8 @@android:id="@+id/results_recycler" android:layout_width="match_parent" android:layout_height="match_parent" - + android:clipToPadding="false" + android:fitsSystemWindows="true" android:visibility="gone" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file