Questions tagged [android-nestedscrollview]

A NestedScrollView is just like a ScrollView, but it supports acting as both a nested scrolling parent as well as a child. It works this way on both new and old versions of Android. Nested scrolling is enabled by default.

NestedScrollView is just like ScrollView, but it supports acting as both a nested scrolling parent and child on both new and old versions of Android. Nested scrolling is enabled by default.

Useful reference

694 questions
0
votes
1 answer

Nested Scroll View Scrolling Issue

I have a horizontal recycler view inside vertical nested scroll view. Everything works fine until there is no item inside recycler view once item added inside recycler view the scroll view starts lagging(not scrolling smoothly) I have tried almost…
0
votes
4 answers

Can't scroll ListView in its parent NestedScrollView - Android

I am using ListView within NestedScrollView, but can't see more than 1 item in ListView. I can scroll upto the end of TextView (textContact) but can't scroll within the ListView (listContact). Here's the code for .xml File :
0
votes
1 answer

Prevent FloatingActionButton became visible within CoordinatorLayout, ViewPager, Fragment

I have implemented a ViewPager and a FloatingActionButton within a CoordinatorLayout. The FloatingActionButton have a layout_behavior set to custom ScrollAwareFABBehavior. On swiping pager, the fab changes visibillity (animation) successfully and as…
0
votes
2 answers

Android Scrollview Height Dynamic Adjustment

I have a nestedScrollview inside a CoordinatorLayout. Now, there are 5-6 views inside nestedScrollview and there visibilty will change depending on the data available via network. The issue is that scrollview always takes the same height (total of…
0
votes
1 answer

Strange behavior with nestedScrollView inside a viewPager

I have 3 fragments, each using a nestedScrollView, inside a viewPager. Every time I switch between one, the nestedScrollView scrolls underneath the appBar. I think it could be a problem with where I set up certain views during the InfoFragment's…
0
votes
0 answers

Swippable behavior of tabs not working when using NestedScrollView?

I am trying to learn Material Design, I am trying to make a layout like current layout of Whatsapp home screen It all works fine i had set up my tabs and also able to make swipe layout in tabs, now when i tried to make AppBarLayout exit the screen…
0
votes
1 answer

Content layout xml double heigth size inside a NestedScrollView

I have a Coordinator layout in activity xml and an include layout that have a content layout xml. Like this:
0
votes
2 answers

RecyclerView extra empty gap between items

1.i just implemented some recyclerviews, some of their items have extra empty space. this space sometimes disappears after some scrolling. i have tried every way you could think! i have changed heights to wrap content but still issue exists! here…
0
votes
1 answer

CollapsingToolbarLayout and blank space in NestedScrollView

I have a problem with the CollapsingToolbarLayout. I don't want to scroll the NestedScrollView to the end because it leaves a lot of blank space if content, text in my case, is short. Here are screenshots: And: Here's…
0
votes
1 answer

NestedScrollView not showing last cardView with CoordinatorLayout & CollapsingToolbarLayout

I set up a CoordinatorLayout with a AppBarLayout and a CollapsingToolbarLayout, everything works fine, in this part. Under the AppBarLayout I put a NestedScrollView but when I scroll to the end I can see only half of the last cardview.…
0
votes
0 answers

Is it possible to create a custom view for Android which extends different classes depending on the API of the device running it?

I am creating a custom view which extends ScrollView. In this view I need nested scrolling so, in my current approach, I'm actually extending android.support.v4.widget.NestedScrollView to support older versions because attribute…
0
votes
0 answers

NestedScrollView not scrolling

Ok so I have a global CoordinatorLayout with the following layout content_main is a FrameLayout that fragments are transacted into. For this particular fragment I have a requirement of placing a TabLayout at a certain % of screenheight, so I went…
0
votes
2 answers

Recycler View inside a NestedScrollView

I have a few Horizontally scrollable Recycler views inside a NestedScrollView. How do I disable only the vertical scroll in the recycler views and pass this vertical touch to the parent NestedScrollView?
DevAndroid
  • 1,150
  • 1
  • 10
  • 23
0
votes
1 answer

Android RecyclerView inside NestedScrollVew check isScrollToEnd

I have RecyclerView inside NestedScrollView and its working fine but the problem is i can't listen RecyclerView's loadmore event ( custom scroll event) as i am using inside nestedscroll view so is there way to listen nested scroll view's Scroll to…
0
votes
1 answer

How to make the FAB react to downward scroll events before the AppBarLayout has collapsed in a CoordinatorLayout

I am trying to write a custom behaviour for the FAB. At the moment, the behaviour which I took from here controls the FAB's visibility from when the onNestedScroll() method from the CoordinatorLayout.Behavior class is called. But, onNestedScroll()…