public final class AnimationUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static float |
ALPHA_HALF |
static float |
ALPHA_INVISIBLE |
static float |
ALPHA_OPAQUE |
| Modifier and Type | Method and Description |
|---|---|
static void |
fadeViewVisibility(android.view.View view,
int visibility,
boolean animate)
Animate the View's visibility using a fade animation.
|
public static final float ALPHA_OPAQUE
public static final float ALPHA_INVISIBLE
public static final float ALPHA_HALF
public static void fadeViewVisibility(@NonNull
android.view.View view,
int visibility,
boolean animate)
view - The View to be animatedvisibility - View visibility constant, can be either View.VISIBLE, View.INVISIBLE or View.GONEanimate - true if the visibility should be changed with an animation, false if instantaneously