public class Transitions extends Object
Constructor and Description |
---|
Transitions() |
Modifier and Type | Method and Description |
---|---|
static void |
fadeIn(View v,
int duration)
Makes a view (originally blank) fade in.
|
static void |
fadeIn(View v,
int duration,
EndAction action)
Makes a view (originally blank) fade in.
|
static void |
fadeOut(View v,
int duration,
Color fadeColor)
Makes a view fade out, and eventually be painted blank.
|
static void |
fadeOut(View v,
int duration,
Color fadeColor,
EndAction action)
Makes a view fade out, and eventually be painted blank.
|
public static void fadeOut(View v, int duration, Color fadeColor)
v
- the view whose content will fade outduration
- duration of the fade out transition in millisecondsfadeColor
- target color for the fade outfadeOut(View v, int duration, Color fadeColor, EndAction action)
public static void fadeOut(View v, int duration, Color fadeColor, EndAction action)
v
- the view whose content will fade outduration
- duration of the fade out transition in millisecondsfadeColor
- target color for the fade outaction
- fade out action.fadeOut(View v, int duration, Color fadeColor)
public static void fadeIn(View v, int duration)
v
- the view whose content will fade induration
- duration of the fade in transition in millisecondsfadeIn(View v, int duration, EndAction action)
public static void fadeIn(View v, int duration, EndAction action)
v
- the view whose content will fade induration
- duration of the fade in transition in millisecondsaction
- fade-in action. Executed after the view fade-in.fadeIn(View v, int duration)
Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.