ViewPropertyAnimator.TranslationZBy(Single) Method

Definition

This method will cause the View's translationZ property to be animated by the specified value.

[Android.Runtime.Register("translationZBy", "(F)Landroid/view/ViewPropertyAnimator;", "GetTranslationZBy_FHandler")]
public virtual Android.Views.ViewPropertyAnimator TranslationZBy (float value);
[<Android.Runtime.Register("translationZBy", "(F)Landroid/view/ViewPropertyAnimator;", "GetTranslationZBy_FHandler")>]
abstract member TranslationZBy : single -> Android.Views.ViewPropertyAnimator
override this.TranslationZBy : single -> Android.Views.ViewPropertyAnimator

Parameters

value
Single

The amount to be animated by, as an offset from the current value.

Returns

This object, allowing calls to methods in this class to be chained.

Attributes

Remarks

This method will cause the View's translationZ property to be animated by the specified value. Animations already running on the property will be canceled.

Java documentation for android.view.ViewPropertyAnimator.translationZBy(float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also