public class SwipeAnimation extends Animation
TabSwitcher.| Modifier and Type | Class and Description |
|---|---|
static class |
SwipeAnimation.Builder
A builder, which allows to configure and create instances of the class
SwipeAnimation. |
static class |
SwipeAnimation.SwipeDirection
Contains all possible directions of a swipe animation.
|
| Modifier and Type | Method and Description |
|---|---|
SwipeAnimation.SwipeDirection |
getDirection()
Returns the direction of the swipe animation.
|
long |
getRelocateAnimationDuration()
Returns the duration of the animations, which are used to relocate the other tabs, when a tab
has been added or removed.
|
getDuration, getInterpolatorpublic final SwipeAnimation.SwipeDirection getDirection()
SwipeAnimation.SwipeDirection.
The direction may not be nullpublic final long getRelocateAnimationDuration()
Long value or -1, if the default
duration is used