henrytao-me / smooth-app-bar-layout

Smooth version of Google Support Design AppBarLayout
Apache License 2.0
1.77k stars 240 forks source link

NestedScrollView overlapTop behavior and Toolbar #190

Closed jintoga closed 7 years ago

jintoga commented 7 years ago

Hi! I want to achieve this behavior where NestedScrollView overlap CollapsingToolbarLayout and MenuItems of Toolbar are still clickable. But the problem is if i place the NestedScrollView above SmoothAppBarLayout then the MenuItems of Toolbar are clickable but the content inside the NestedScrollView stay behind CollapsingToolbarLayout. And if i place NestedScrollView below SmoothAppBarLayout then the Toolbar stay behind NestedScrollView so its MenuItems are not clickable anymore. Any suggestion?

Toolbar's Menu Items clickable but looks bad

Toolbar's Menu Items are not click able, i want it to look like this

jintoga commented 7 years ago

I already managed to resolve the problem by placing the Header inside NestedScrollView.