Megosztás a következőn keresztül:


ViewGroup.SetStaticTransformationsEnabled(Boolean) Method

Definition

When this property is set to true, this ViewGroup supports static transformations on children; this causes #getChildStaticTransformation(View, android.view.animation.Transformation) to be invoked when a child is drawn.

[Android.Runtime.Register("setStaticTransformationsEnabled", "(Z)V", "GetSetStaticTransformationsEnabled_ZHandler")]
protected virtual void SetStaticTransformationsEnabled (bool enabled);
[<Android.Runtime.Register("setStaticTransformationsEnabled", "(Z)V", "GetSetStaticTransformationsEnabled_ZHandler")>]
abstract member SetStaticTransformationsEnabled : bool -> unit
override this.SetStaticTransformationsEnabled : bool -> unit

Parameters

enabled
Boolean

True to enable static transformations on children, false otherwise.

Attributes

Remarks

When this property is set to true, this ViewGroup supports static transformations on children; this causes #getChildStaticTransformation(View, android.view.animation.Transformation) to be invoked when a child is drawn.

Any subclass overriding #getChildStaticTransformation(View, android.view.animation.Transformation) should set this property to true.

Java documentation for android.view.ViewGroup.setStaticTransformationsEnabled(boolean).

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

  • <xref:Android.Views.ViewGroup.GetChildStaticTransformation(Android.Views.View%2c+Android.Views.Animations.Transformation)>