Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onClick button #99

Open
garydossantos87 opened this issue Jan 20, 2015 · 2 comments
Open

onClick button #99

garydossantos87 opened this issue Jan 20, 2015 · 2 comments

Comments

@garydossantos87
Copy link

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

@varuntheja6
Copy link

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

@novanto
Copy link

novanto commented Jun 26, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants