onClick button
garydossantos87 opened this issue · 2 comments
garydossantos87 commented
how can i put a button into the header and get the onClick
varuntheja6 commented
I'm facing same problem like this, can some one please provide solution...
novanto commented
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