Disable CollapsingToolbarLayout elevation

I am using the code from this answer . And I'm trying to disable toolbar height when collapsing. I tried putting android:elevation="0dp" in all xml tags, but it just didn't work out. Any suggestion?

enter image description here

+6
source share
1 answer

Setting app:elevation="0dp" on the AppBarLayout does the job.

+11
source

All Articles