public static interface ViewPager.PageTransformer
As property animation is only supported as of Android 3.0 and forward, setting a PageTransformer on a ViewPager on earlier platform versions will be ignored.
Modifier and Type | Method and Description |
---|---|
void |
transformPage(View page,
float position)
Apply a property transformation to the given page.
|
void transformPage(View page, float position)
page
- Apply the transformation to this pageposition
- Position of page relative to the current front-and-center
position of the pager. 0 is front and center. 1 is one full
page position to the right, and -1 is one page position to the left.