ManuelPeinado/FadingActionBar

onClick button

garydossantos87 opened this issue · 2 comments

how can i put a button into the header and get the onClick

I'm facing same problem like this, can some one please provide solution...

Hello, trying to answer here.

Both of you could use the Header Overlay and add button to the overlay layout. Then, you add the onclickListener on the activity/fragment. But, if you mean that the button keeps going with the action bar when it's scrolled down, you need some configuration with onScrollListener event options

Here is the example of my app using FadingActionBar with overlay options
exampe