Share via


ChangeBounds.SetReparent(Boolean) Method

Definition

Caution

deprecated

Setting this flag tells ChangeBounds to track the before/after parent of every view using this transition.

[Android.Runtime.Register("setReparent", "(Z)V", "GetSetReparent_ZHandler")]
[System.Obsolete("deprecated")]
public virtual void SetReparent (bool reparent);
[<Android.Runtime.Register("setReparent", "(Z)V", "GetSetReparent_ZHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetReparent : bool -> unit
override this.SetReparent : bool -> unit

Parameters

reparent
Boolean

true if the transition should track the parent container of target views and animate parent changes.

Attributes

Remarks

Setting this flag tells ChangeBounds to track the before/after parent of every view using this transition. The flag is not enabled by default because it requires the parent instances to be the same in the two scenes or else all parents must use ids to allow the transition to determine which parents are the same.

This member is deprecated. Use android.transition.ChangeTransform to handle transitions between different parents.

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