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
4
votes
0 answers

NestedScrollView not scrolling issue with Fragment of FrameLayout

I have used FrameLayout as a Fragment container inside NestedScrollView. It works fine when loading first Fragment in FrameLayout (Scrolling) but when i replace another Fragment in FrameLayout then it stopped showing content and scrolling as well I…
4
votes
1 answer

using floating action button in CoordinatorLayout with behavior_overlapTop

I'm trying to add a floating action button in a CoordinatorLayout with a NestedScrollView which has 56dp of app:behavior_overlapTop. my fab's layout_anchor is set on Appbar and it hides fine when CollapsingToolbarLayout collapsed, But because of…
4
votes
0 answers

how to use swipe refresh layout inside nested scroll view

I want to use SwipeRefreshLayout inside NestedScrollView Here is my code
4
votes
4 answers

Two Recycler views inside nested scroll view

I have a Nested Scroll view and inside this, I have a Linear Layout that includes two recycler views. Now the problem is that the first recycler view is not expanding up to its full extent. i.e. there are 5 items in the first recycler view list but…
4
votes
1 answer

RecyclerView Laggy inside NestedScrollView/LinearLayout

Before digging into the code, I've already checked the following questions: How to use RecyclerView inside NestedScrollView? Recyclerview inside Nested Scrollview scroll but does not fast scroll like normal Recyclerview or Nested…
Jaeger
  • 1,646
  • 8
  • 27
  • 59
4
votes
1 answer

How to make transparent NestedScrollView when adding layout_behavior

I want to make NestedScrollView transparent, but when I use app:layout_behavior="@string/appbar_scrolling_view_behavior" then it add white background. When I remove layout_behavior, my design is broken but it shows as transparent background and…
Md Tariqul Islam
  • 2,736
  • 1
  • 20
  • 35
4
votes
3 answers

View with ViewPager not vertically scrollable in ScrollView

This feels like a no brainer but somehow I'm stuck. The view won't allow me to scroll it. It's as if the height of the fragment inflated in the ViewPager doesn't get calculated. Searching SO suggest I need to write my own ViewPager and override…
4
votes
1 answer

Edittext scrolling inside Recyclerview and NestedScrollView android

I have an edittext which is of inputType textMultiLine inside RecyclerView which again is in NestedScrollView. I have a functionality in which I have to take Recyclerview inside the NestedScrollview. RecyclerView scrolling has been disabled by…
4
votes
1 answer

Items displaying only from recyclerview and not from top of the items android

I am using nested scrollview. Inside the nested scrollview, I have two title (Text and button) and then below another text then followed by recyclerview below the layout. Then below the recyclerview, there is two edittext and submit…
Shadow
  • 6,864
  • 6
  • 44
  • 93
4
votes
2 answers

ScrollView's scroll is not working inside bottomsheet?

I've placed an edit text inside a NestedScrollView so that the edit text can be expanded .But the problem is this NestedScrollView is placed inside a BottomSheet that's why the scrollview is not scrolled. I wonder how to make the NestedScrollView…
Srinivas Nahak
  • 1,846
  • 4
  • 20
  • 45
4
votes
0 answers

NestedScrollView not Scrolling with Viewpager, Fragment and RecylerView

I have an activity,it loads up one fragment A. This fragment A will have some header content and a Tablayout and a Viewpager. The Viewpager will have a Fragment B which will have a recyler view in it. The scroll is not working after…
4
votes
3 answers

NestedScrollView cut/overlay bottom of nested Fragments

I have problem with NestedScrollView, because it cuts bottom of view. I have FragmentA with schema:
4
votes
0 answers

Change height of android AppBarLayout on scroll

I am trying to change height of android appBarLayout to make effect like this (example is from iOS but I am trying to do similar things in android): When we scroll up appBar height of appBar should decrese and picture should scaled. Example 1:…
4
votes
0 answers

onNestedFling or onNestedPreFling not triggered for CoordinatorLayout Behavior

onNestedFling or onNestedPreFling behavior callbacks aren't triggered for NestedScrollView inside CoordinatorLayout when flinging in upward direction. However, when I fling in downward direction, they're triggered. Any known issue? The above…
4
votes
3 answers

Remove focus from recyclerview inside Nested Scrollview

Hi I am facing one issue in designing and its xml is as follow. Issue is that I am using two textview, button and recyclerview inside nested scrollview. When I am running this code view is started from recyclerview but when I am scrolling down then…