Skip to content

Commit

Permalink
Make all fragments properly scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbakker committed Oct 19, 2024
1 parent f64c7f2 commit 44f3992
Show file tree
Hide file tree
Showing 4 changed files with 516 additions and 510 deletions.
3 changes: 1 addition & 2 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fitsSystemWindows="true"
app:liftOnScroll="true"
app:liftOnScrollTargetViewId="@+id/rvAccounts">
app:liftOnScroll="true">

<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/content_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
android:layout_marginTop="?attr/actionBarSize">

<fragment
android:id="@+id/nav_host_fragment"
Expand Down
Loading

0 comments on commit 44f3992

Please sign in to comment.