to top
Android APIs
protected static class

Animation.Description

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

Class Overview

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()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public int type

Added in API level 1

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

public float value

Added in API level 1

The absolute or relative dimension for this Description.

Protected Constructors

protected Animation.Description ()

Added in API level 1

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.