public class PeekAnimation extends Animation
TabSwitcher
. Peek animations can be used to
add tabs while the tab switcher is not shown and when using the smartphone layout. They are meant
to be used when adding a tab without selecting it and enable the user to peek at the added tab
for a short moment.Modifier and Type | Class and Description |
---|---|
static class |
PeekAnimation.Builder
A builder, which allows to configure and create instances of the class
PeekAnimation . |
Modifier and Type | Method and Description |
---|---|
float |
getX()
Returns the horizontal position, the animation starts at.
|
float |
getY()
Returns the vertical position, the animation starts at.
|
getDuration, getInterpolator
public final float getX()
Float
valuepublic final float getY()
Float
value