1

My structure looks like this:

<CoordinatorLayout>
 <AppBarLayout>
  <CollpasingToolbarLayout>
   <ImageView />
   <Toolbar />
  </CollpasingToolbarLayout>
 </AppBarLayout>
 <NestedScrollView>
  <LinearLayout>
   <CardView>
     <LinearLayout />
   <CardView>
    ....
  </LinearLayout>
 </NestedScrollView>
 <TextView />
</CoordinatorLayout>

I've got a onClick/onTouchListener on the cardview elements. The onTouch/onClick events work. But the scrollview gets intercepted if I want to start the scroll on one of the card elements that has a onClickListener on it it just doesn't scroll at all.

On a very similar but older structure it worked, but now I tried everything but I still can't figure out what I'm missing.

Does anybody have an idea ?

Thanks a lot Cheers

Patric
  • 342
  • 4
  • 19

3 Answers3

1

It's a bug in the Android Support Library. See here: https://code.google.com/p/android/issues/detail?id=182549

OferM
  • 902
  • 1
  • 8
  • 20
1

I was having the same issue. This was fixed for me with the latest support library release (23.1.0).

ccpmark
  • 1,005
  • 1
  • 10
  • 11
0

I faced the same issue. Make sure your gradle dependencies include:

compile 'com.android.support:appcompat-v7:23.1.0'

You can read this article for further insight regarding the new support library update!

Ionut Ciuta
  • 618
  • 1
  • 9
  • 24