I'm using a tabLayout with a horizontal recyclerView
The problem is when I scroll the recyclerView, the tabLayout takes priority instead of RecyclerView.
This only happens when the tabLayout is in the last tab, the tabLayout has no more scrolling.
TabLayout have this attributes
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="1dp"
android:elevation="6dp"
app:tabMaxWidth="0dp"
app:tabGravity="fill"
app:tabMode="fixed"
app:tabSelectedTextColor="#ffffff"
app:tabIndicatorColor="#ffffff"
app:tabTextAppearance="@style/CustomTextStyle"
>
And I setted the recyclerView with the attribute setHasFixedSize
recycler.setHasFixedSize(true)
This gif shows the problem.
Here works well, because the tabLayout is not in the last tab.