# DynamicAnimation.ViewProperty

added in[version 25.4.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:support-dynamic-animation:28.0.0-alpha1  
Summary:[Inherited Methods](https://developer.android.com/reference/android/support/animation/DynamicAnimation.ViewProperty#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/animation/DynamicAnimation.ViewProperty#)  

# DynamicAnimation.ViewProperty

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public
static

abstract
class
DynamicAnimation.ViewProperty
`  
`


``

extends `[FloatPropertyCompat](https://developer.android.com/reference/android/support/animation/FloatPropertyCompat)`<`[View](https://developer.android.com/reference/android/view/View.html)`>


``


`

|---|---|---------------------------------------------------------|
| java.lang.Object                                              |||
| ↳ | [android.support.animation.FloatPropertyCompat](https://developer.android.com/reference/android/support/animation/FloatPropertyCompat)\<[android.view.View](https://developer.android.com/reference/android/view/View.html)\> ||
|   | ↳ | android.support.animation.DynamicAnimation.ViewProperty |

<br />

*** ** * ** ***

ViewProperty holds the access of a property of a[View](https://developer.android.com/reference/android/view/View.html). When an animation is created with a[DynamicAnimation.ViewProperty](https://developer.android.com/reference/android/support/animation/DynamicAnimation.ViewProperty)instance, the corresponding property value of the view will be updated through this ViewProperty instance.

## Summary

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/animation/DynamicAnimation.ViewProperty#)From class` `[android.support.animation.FloatPropertyCompat](https://developer.android.com/reference/android/support/animation/FloatPropertyCompat)` ` |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` static <T> `[FloatPropertyCompat](https://developer.android.com/reference/android/support/animation/FloatPropertyCompat)`<`[View](https://developer.android.com/reference/android/view/View.html)`>` | ` `[createFloatPropertyCompat](https://developer.android.com/reference/android/support/animation/FloatPropertyCompat#createFloatPropertyCompat(android.util.FloatProperty<T>))`(`[FloatProperty](https://developer.android.com/reference/android/util/FloatProperty.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`> property) ` Create a[FloatPropertyCompat](https://developer.android.com/reference/android/support/animation/FloatPropertyCompat)wrapper for a[FloatProperty](https://developer.android.com/reference/android/util/FloatProperty.html)object. | | ` abstract float`                                                                                                                                                                                      | ` `[getValue](https://developer.android.com/reference/android/support/animation/FloatPropertyCompat#getValue(T))`(`[View](https://developer.android.com/reference/android/view/View.html)` object) ` Returns the current value that this property represents on the given`object`.                                                                                                                                                                                                                                                                                                                | | ` abstract void`                                                                                                                                                                                       | ` `[setValue](https://developer.android.com/reference/android/support/animation/FloatPropertyCompat#setValue(T, float))`(`[View](https://developer.android.com/reference/android/view/View.html)` object, float value) ` Sets the value on`object`which this property represents.                                                                                                                                                                                                                                                                                                                 | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/animation/DynamicAnimation.ViewProperty#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||

-

  ## Interfaces

  - [DynamicAnimation.OnAnimationEndListener](https://developer.android.com/reference/android/support/animation/DynamicAnimation.OnAnimationEndListener)
  - [DynamicAnimation.OnAnimationUpdateListener](https://developer.android.com/reference/android/support/animation/DynamicAnimation.OnAnimationUpdateListener)
-

  ## Classes

  - [DynamicAnimation](https://developer.android.com/reference/android/support/animation/DynamicAnimation)
  - [DynamicAnimation.ViewProperty](https://developer.android.com/reference/android/support/animation/DynamicAnimation.ViewProperty)
  - [FlingAnimation](https://developer.android.com/reference/android/support/animation/FlingAnimation)
  - [FloatPropertyCompat](https://developer.android.com/reference/android/support/animation/FloatPropertyCompat)
  - [FloatValueHolder](https://developer.android.com/reference/android/support/animation/FloatValueHolder)
  - [SpringAnimation](https://developer.android.com/reference/android/support/animation/SpringAnimation)
  - [SpringForce](https://developer.android.com/reference/android/support/animation/SpringForce)