0

How can I set my collapsing toolbar above the activity layout ?

I want to "elevate" it like the floating button. I have tried to set an elevation on the appbarlayout, even on the collapsing toolbar but it doesn't work.

How can I do this ?

Thanks

David Seroussi
  • 1,650
  • 2
  • 17
  • 34

1 Answers1

0

You can use CollapsingToolbarLayout in CoordinatorLayout. you can find a lot of examples online here's a nice one:

Creating collapsing effects

e-shfiyut
  • 3,538
  • 2
  • 30
  • 31
  • I have edited my question, it should be clearer now. I am currently using the `CollapsingToolbarLayout `and the CoordinatorLayout but I can't get the floating button effect on it – David Seroussi Mar 26 '16 at 22:40