public static interface GalleryLayoutManager.ItemTransformer
| 限定符和类型 | 方法和说明 |
|---|---|
void |
transformItem(GalleryLayoutManager layoutManager,
android.view.View item,
float fraction)
Apply a property transformation to the given item.
|
void transformItem(GalleryLayoutManager layoutManager, android.view.View item, float fraction)
layoutManager - Current LayoutManageritem - Apply the transformation to this itemfraction - 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.