Open vishal044 opened 6 years ago
hey. fixed the issue . xD
had to add custom class extending AppbarLayout.behavior .
Hi, I think I've got the same problem. Any hint how to set AppbarLayout.behaivour correctly? Thank for answer.
Hi @vishal044 @klepackovakarolina, there are few things you can try:
CoordinatorLayout
height needs to be match_parent
or 0dp
with layout_weight=1
android:layout_marginTop="20dp"
, using android:layout_paddingTop="20dp"
RecyclerView
before or after AppBarLayout
is not matter.
Hi, i made collapsable layout, put frame in it and recycler below it. scrolling it up to collapse the frame is fine, but scrolling down isnt smooth. kindly help.
`<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:clickable="true" android:focusableInTouchMode="true">
`