共用方式為


ViewGroup.GetChildStaticTransformation(View, Transformation) Method

Definition

Sets t to be the static transformation of the child, if set, returning a boolean to indicate whether a static transform was set.

[Android.Runtime.Register("getChildStaticTransformation", "(Landroid/view/View;Landroid/view/animation/Transformation;)Z", "GetGetChildStaticTransformation_Landroid_view_View_Landroid_view_animation_Transformation_Handler")]
protected virtual bool GetChildStaticTransformation (Android.Views.View? child, Android.Views.Animations.Transformation? t);
[<Android.Runtime.Register("getChildStaticTransformation", "(Landroid/view/View;Landroid/view/animation/Transformation;)Z", "GetGetChildStaticTransformation_Landroid_view_View_Landroid_view_animation_Transformation_Handler")>]
abstract member GetChildStaticTransformation : Android.Views.View * Android.Views.Animations.Transformation -> bool
override this.GetChildStaticTransformation : Android.Views.View * Android.Views.Animations.Transformation -> bool

Parameters

child
View

The child view whose static transform is being requested

t
Transformation

The Transformation which will hold the result

Returns

true if the transformation was set, false otherwise

Attributes

Remarks

Sets t to be the static transformation of the child, if set, returning a boolean to indicate whether a static transform was set. The default implementation simply returns false; subclasses may override this method for different behavior. #setStaticTransformationsEnabled(boolean) must be set to true for this method to be called.

Java documentation for android.view.ViewGroup.getChildStaticTransformation(android.view.View, android.view.animation.Transformation).

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