Questions tagged [nestedscrollview]
308 questions
10
votes
3 answers
match_parent not working for ListView, if ListView is inside NestedScrollView
In my app I am using a ListView and it is inside a NestedScrollView. When I set height of the ListView to match_parent it does not cover the whole screen. I want that ListView to cover the whole screen.
My XML file:
user5292016
10
votes
1 answer
Issue scrolling WebView in NestedScrollView Android 2.3 or less
I added Toolbar, Tablayout and Viewpager in my android app. There are three Tabs in TabLayout, each of which shows a WebView.
I placed the WebView in a NestedScrollView to hide/show the Toolbar when the user scrolls down/up in the WebView. Toolbar…

Faiyaz
- 574
- 1
- 9
- 39
9
votes
0 answers
How to add scrollable tabs with a pinned header within a DraggableScrollableSheet?
I'm trying to use a NestedScrollView for scrollable tabs within a DraggableScrollableSheet and need to pass the sheet's controller to the NestedScrollView's scrollable body, however doing so is not supported by NestedScrollView which requires that…
9
votes
3 answers
ScrollablePositionedList with SliverAppBar not working properly
This is a repository to create a minimal reproducible example.
I want SliverAppBar hidden when ScrollablePositionedList.builder is Scrolled. This is the relevant piece of code I am including here.
NestedScrollView(
…

Ravinder Kumar
- 7,407
- 3
- 28
- 54
9
votes
3 answers
RecyclerView is not showing in NestedScrollView
I have looked at a few similar incidents of this on StackOverflow. However none seem to apply to my case. The issue I'm having is that my RecyclerView is working but nothing is displaying. I have run multiple tests to try and figure out why it isn't…

Austin E
- 823
- 1
- 9
- 22
9
votes
2 answers
Recycler view + View Pager + Nested ScrollView + CoordinatorLayout
I am working on a layout such that the ViewPager holding a fragment that contains recycler view is placed in a nester scrollView of Coordinator Layout.
The problem is once i clicked on the recycler view the nested scroll view is not working..
Is…
user4488923
8
votes
1 answer
Handle scrolling for VerticalViewPager with NestedScrollView inside
Background:
I am using a variant of ViewPager which instead of scrolling in horizontal direction, it scrolss in vertical…

Anurag Singh
- 6,140
- 2
- 31
- 47
8
votes
2 answers
Endless load more recyclerview inside nested scroll android
I have Recyclerview inside the nestedscrollview and I want to scroll the nestedscrollview to the buttom display loading and load more list to recyclerview.
Here is my xml.

Angkor Empire
- 221
- 2
- 5
- 11
8
votes
1 answer
Enable intertial scroll in NestedScrollView (Android Studio)
I have a NestedScrollView (part of the default Scrolling Activity) that contains a CoordinatorLayout and RecyclerView to display cards with some information. The layout is designed to allow the cards to go off-screen if there are too many and have…

CodingSingh
- 113
- 1
- 5
8
votes
1 answer
RecyclerView not recycling if inside nestedScrollView
My goal is to have a NestedScrollView with multiple child CardViews containing RecyclerViews.
My current xml looks something like this:
…

user1377493
- 143
- 1
- 8
8
votes
0 answers
Scroll NestedScrollView with TextInputLayout when EditText get focused
I have that layout:

streamride
- 567
- 4
- 16
8
votes
2 answers
can i create a nestedScroll Layout like this?
I think it can be achieved by NestedScrollingChild NestedScrollingParent.
But I can't really understand them.Who can help me out!
Product manager insists on the design.
The ScrollView contains a LinearLayout ,a "TabLayout" and a ViewPager.
The…

tiny sunlight
- 6,231
- 3
- 21
- 42
7
votes
1 answer
How to preserve the scroll position of tabView when using collapsible app bar (sliverAppBar)?
Problem:
Scroll position of the tabView is not restored correctly when one of the tabView is scrolled to the top (revealing the sliverAppBar). The other tabView will also scrolled to the top (losing its previous scroll position).
This problem will…

viruskinghjx
- 73
- 5
7
votes
2 answers
Dealing With RecyclerView, NestedScrollView, and CardView
I'm going to achieve this UI in my App:
Well, Some ways that I tried before:
1. Using CollapsingToolbarLayout
I put my CardView insid of CollapsingToolbarLayout and put them all in AppBarLAyout.

MAY3AM
- 1,182
- 3
- 17
- 42
7
votes
2 answers
Hide a Floating Action Button of another Layout
I have a FloatingActionButton inside of may activity_main.xml layout which is named fabBtn.
My application is built with a ViewPager and three Fragments.I want to hide the FloatingActionButton when my first Fragment detects a scroll, but I keep…

Dolan
- 103
- 1
- 1
- 9