henrytao-me / smooth-app-bar-layout

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

Toolbar inside SmoothAppBarLayout has more height than intended #192

Closed oguzozcan closed 7 years ago

oguzozcan commented 7 years ago

Hello,

First of all, many thanks for the great library. I just changed my Appbar with SmoothAppBar everything is perfect except one thing. Collapsed size of the toolbar should have a size "actionBarSize" but after i switched to your library its size is bigger now.

Till now i couldn't find a way to solve this. I thought this could be about the title padding but disabling the title didn't help. Setting a AppBarLayout.Behavior to the SmoothAppBarLayout solves it but apperantly we dont want that.

Here you can find more details about the problem: http://stackoverflow.com/questions/43072195/smoothappbarlayout-collapsed-toolbar-height-is-bigger-than-intended

Thanks in advance,

henrytao-me commented 7 years ago

Hi @oguzozcan

Please check my answer there. Thanks. Happy coding.