-
Notifications
You must be signed in to change notification settings - Fork 675
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
FadingActionBar with FragmentTabHost #113
Comments
Yes. It can be possible by placing header layout (where you want parallax effect) within parent fragment which is in your case is "FragmentTabHost". then you can simply make effect using this:
Note: make sure your three listview fragments are in fragment_tab_host's java class. even a better approach to use a viewpager within FragmentTabHost to hold all three fragment (List fragments). |
Thanks for your response. I am not getting one thing here. What do you mean by "Note: make sure your three listview fragments are in fragment_tab_host's java class." Here is my setup... mTabHost.addTab(tabSpec, Fragment1.class, args); each fragment has different layout file.. like fragment_layout1.xml, fragment_layout2.xml is this setup correct? |
I am still stuck on this. Any help would be great help. |
Can I use FadingActionBar with FragmentTabHost?
I have FragmentTabHost with three Fragments and each has ListView. Above Fragment tabs, I have header layout which I want to parallax hide on ListView scroll.
The text was updated successfully, but these errors were encountered: