Skip to content

Most visited

Recently visited

navigation

Animation.Description

protected static class Animation.Description
extends Object

java.lang.Object
   ↳ android.view.animation.Animation.Description


Utility class to parse a string description of a size.

Summary

Fields

public int type

One of Animation.ABSOLUTE, Animation.RELATIVE_TO_SELF, or Animation.RELATIVE_TO_PARENT.

public float value

The absolute or relative dimension for this Description.

Protected constructors

Animation.Description()

Inherited methods

From class java.lang.Object

Fields

type

Added in API level 1
int type

One of Animation.ABSOLUTE, Animation.RELATIVE_TO_SELF, or Animation.RELATIVE_TO_PARENT.

value

Added in API level 1
float value

The absolute or relative dimension for this Description.

Protected constructors

Animation.Description

Added in API level 1
Animation.Description ()

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.