共用方式為


ChangeBounds.SetResizeClip(Boolean) Method

Definition

When resizeClip is true, ChangeBounds resizes the view using the clipBounds instead of changing the dimensions of the view during the animation.

[Android.Runtime.Register("setResizeClip", "(Z)V", "GetSetResizeClip_ZHandler")]
public virtual void SetResizeClip (bool resizeClip);
[<Android.Runtime.Register("setResizeClip", "(Z)V", "GetSetResizeClip_ZHandler")>]
abstract member SetResizeClip : bool -> unit
override this.SetResizeClip : bool -> unit

Parameters

resizeClip
Boolean

Used to indicate whether the view bounds should be modified or the clip bounds should be modified by ChangeBounds.

Attributes

Remarks

When resizeClip is true, ChangeBounds resizes the view using the clipBounds instead of changing the dimensions of the view during the animation. When resizeClip is false, ChangeBounds resizes the View by changing its dimensions.

When resizeClip is set to true, the clip bounds is modified by ChangeBounds. Therefore, android.transition.ChangeClipBounds is not compatible with ChangeBounds in this mode.

Java documentation for android.transition.ChangeBounds.setResizeClip(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