saulmm / CoordinatorBehaviorExample

2.71k stars 590 forks source link

Pin Toolbar to top? #45

Open drinfernoo opened 6 years ago

drinfernoo commented 6 years ago

Is it possible to use this Behavior, while having the Toolbar pinned to the top? I'd like to be able to use the "quick return" toolbar, but with my ImageView shrinking into it. I've been playing with layouts all week, but the only time it works is if my layout is exactly like the one in the example.

I'm also not really following the Behavior code enough to adapt it, but it seems to me like the custom attributes aren't even really being used correctly, if at all.

How does this work?

qq1368830166 commented 4 years ago

请问你解决了吗,我也遇到该问题了。