You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.
Has anybody managed to get this working with Overlay mode on?
The pinned section doesn't take the height of the ActionBar into account when it's scrolling to position at the top of the screen.
The text was updated successfully, but these errors were encountered:
Has anybody managed to get this working with Overlay mode on?
The pinned section doesn't take the height of the ActionBar into account
when it's scrolling to position at the top of the screen.
—
Reply to this email directly or view it on GitHub #53.
you can setPadding when onScroll just like
if (mActionBarHeight > 0) {
if (Math.abs(getChildAt(0).getTop()) >= getChildAt(0)
.getHeight() - mActionBarHeight) {
setPadding(0, mActionBarHeight, 0, 0);
} else if (getFirstVisiblePosition() == 0) {
setPadding(0, 0, 0, 0);
}
}
Has anybody managed to get this working with Overlay mode on?
The pinned section doesn't take the height of the ActionBar into account when it's scrolling to position at the top of the screen.
The text was updated successfully, but these errors were encountered: