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

ScrollView Bounce not working #14

Closed
faizandedia opened this issue Apr 14, 2015 · 5 comments
Closed

ScrollView Bounce not working #14

faizandedia opened this issue Apr 14, 2015 · 5 comments

Comments

@faizandedia
Copy link

I am trying to use PullToZoomScrollViewEx , it is working fine when the height of content view is less then the height of screen, means if content goes out of the screen, zooming stops working. I am using note 3 device. can you please check what is the issue? I tried to use the demo code as well having same issue.

@faizandedia
Copy link
Author

any update?

@Frank-Zhu
Copy link
Owner

@faizandedia sorry, I tried to use the demo code is working.(Nexus 5 and S4)

PullToZoomScrollActivity

DisplayMetrics localDisplayMetrics = new DisplayMetrics();
        getWindowManager().getDefaultDisplay().getMetrics(localDisplayMetrics);
        int mScreenHeight = localDisplayMetrics.heightPixels;
        int mScreenWidth = localDisplayMetrics.widthPixels;
        LinearLayout.LayoutParams localObject = new LinearLayout.LayoutParams(mScreenWidth, mScreenHeight + 20);//This Screen Height
        scrollView.setHeaderLayoutParams(localObject);

@Frank-Zhu
Copy link
Owner

@faizandedia It`s work?

@faizandedia
Copy link
Author

I disabled the feature from that screen.

@Frank-Zhu
Copy link
Owner

@faizandedia ok, Close this issues

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

2 participants