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

Just OVerScroll Viewpager. #1

Closed
gybin02 opened this Issue Dec 11, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@gybin02
Copy link

gybin02 commented Dec 11, 2012

can you implement a VIewpager which can just overscoll.
As like this question
http://stackoverflow.com/questions/10773565/visual-indication-of-over-scroll-in-android
Thanks..

@renard314 renard314 closed this Dec 11, 2012

@renard314

This comment has been minimized.

Copy link
Contributor

renard314 commented Dec 11, 2012

Hi,

you can do it with the current version already.
by using a high value for swipe_rotation you can force the angle during swipe to be zero. With swipe_translation you can determine how far into the z plane the view is translated.

Best Regards!

<de.inovex.android.widgets.ViewPager3D
    android:id="@+id/awesomepager"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:swipe_rotation="9000"
    app:swipe_translation="0"
    app:overscroll_rotation="6"
    app:overscroll_translation="50"
    app:animate_alpha="false" />

renard314 added a commit that referenced this issue Mar 11, 2013

Merge pull request #1 from inovex/master
need fix for jellybean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.