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

Overlap not work with view #19

Open
mdtuyen opened this issue Oct 12, 2016 · 3 comments
Open

Overlap not work with view #19

mdtuyen opened this issue Oct 12, 2016 · 3 comments

Comments

@mdtuyen
Copy link

mdtuyen commented Oct 12, 2016

I custom NormalActivity with .pagerMargin(getResources().getDimensionPixelSize(R.dimen.overlap_pager_margin))
and
container.setOverlapEnabled(true);
It don't make overlap for PagerContainer but with FragmentPagerAdapter it work ok

More: If I move viewpager to item 1 when init and use overlap it work not correct (fragment and view)

@luowenjian
Copy link

@mdtuyen
I have the same problem. Do you have found the solution?

@SoftwareAdvise
Copy link

understandable attributes... to near two elements i have to put negative margin ?????? horrible!!!!!

@M-Khay
Copy link

M-Khay commented Oct 22, 2022

same issue..... when I'm using PageAdapter() and generates views instead of fragments, setElevation does not work correctly and center page is not at the top instead the one on right is above it.

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

4 participants