Questions tagged [nestedscrollview]

308 questions
18
votes
4 answers

Espresso testing NestedScrollView - "Error performing 'scroll to' on view 'with id:"

I need to scroll down through my NestedScrollView in order to test my xml file with Espresso, but I get the error message: "Error performing 'scroll to' on view 'with id:" Several other posts that seem to have a similar problem. I have followed…
Silas
  • 181
  • 1
  • 1
  • 5
18
votes
7 answers

WebView inside NestedScrollView cannot be scrolled

I've got an activity that use WebView to load the web content. The problem arise when I want to implement Flexible Space with image. I can expand and collapse the Toolbar, but when the Toolbar already collapsed, The scrollbar stuck there. I can't…
j.elmer
  • 1,441
  • 2
  • 17
  • 36
16
votes
5 answers

Hide FAB in NestedScrollView when scrolling

I am having a nestedscrollview with content like some linearlayouts and textviews. I am using a floatingactionbutton library for some reasons, as well. So I can't use any behavior for it. I don't know how I should handle the scrollchangelistener…
user4546546
16
votes
8 answers

Smoothy scroll to Child in NestedScrollView

I have expandable views inside CardView thats parent is NestedScrollView. I'm trying to create smooth scroll to child when expand animation ended. But I found only one solution: scrollView.requestChildFocus(someView, someView); This code works…
Near1999
  • 1,547
  • 2
  • 18
  • 37
13
votes
2 answers

Fling smoothly AppBarLayout with NestedScrollView using AppBarLayout.Behavior

I have an AppBarLayout and NestedScrollView. I want the NestedScrollView whenever it scroll down, the AppBarLayout should also expand gracefully, without the NestedScrollView stop right before the AppBarLayout Expand; a second Flight/Scroll is…
Elye
  • 53,639
  • 54
  • 212
  • 474
13
votes
5 answers

NestedScrolling with NestedScrollView, RecyclerView (Horizontal), inside a CoordinatorLayout

I have a UI design with CollapsingToolbarLayout, like following.
12
votes
4 answers

RecyclerView inside NestedScrollView onBindViewHolder calling for all getItemCount size

When I put RecyclerView inside NestedScrollView then onBindViewHolder is calling for all row like say I have list which has size of 30 then onBindViewHolder is called for all 30 rows at one time even without scrolling RecyclerView list; …
12
votes
5 answers

Recyclerview inside scrollview- How to scroll whole content?

I am having Recyclerview inside Scrollview
Rushikesh Talokar
  • 1,515
  • 4
  • 16
  • 32
12
votes
1 answer

FrameLayout does not match the height of NestedScrollView

I have a FrameLayout inside a NestedScrollView, as
learner
  • 11,490
  • 26
  • 97
  • 169
12
votes
2 answers

webview height grows indefinitely inside a nestedScrollView

This is my layout. When i load google.com, the webview's height keeps growing indefinitely. The onSizeChange function of the webview keeps getting called and i can see the webview keeps expanding indefinitely. I've tried 22.2.1 and 23.1.0 of the…
11
votes
3 answers

Twitter profile page iOS Swift dissection (Multiple UITableViews in UIScrollView)

hi... really how do they implement this? there are several tutorial for Twitter profile page. but they don't handle all possibilities... first... when you scroll top or bottom any where, top view start scrolling until the segmented control, reach…
11
votes
1 answer
10
votes
3 answers

Scroll to Collapse View without Toolbar

I'm making a layout similar to recent android's status bar. I have two Views inside container. ViewPager and RecyclerView. The default behavior should be that when I scroll RecyclerView, I want ViewPager to decrease in size and vice…
10
votes
3 answers

RecyclerView calling onCreateViewHolder and onBindViewHolder for all items at once

I have a recyclerView capable of showing the maximum of 3 items on screen, but it calls onCreateViewHolder and onBindViewHolder for all 45 items in the list, all at once (as in the LOG below). Shouldn't it be calling those methods only as I scroll…
10
votes
1 answer

Why does Android CollapsingToolbarLayout + NestedScrollView not Scroll to End when soft keyboard shown

Using appcompat 23.1.1, you cannot scroll to the end of a EditText inside the NestedScrollView, when the soft keyboard is shown. What happens is that it will scroll as far as the end would be if the keyboard were hidden. In other words, the soft…
jkj yuio
  • 2,543
  • 5
  • 32
  • 49
1
2
3
20 21