ChangeTransform.ReparentWithOverlay Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether changes to parent should use an overlay or not. -or- Sets whether changes to parent should use an overlay or not.
public virtual bool ReparentWithOverlay { [Android.Runtime.Register("getReparentWithOverlay", "()Z", "GetGetReparentWithOverlayHandler")] get; [Android.Runtime.Register("setReparentWithOverlay", "(Z)V", "GetSetReparentWithOverlay_ZHandler")] set; }
[<get: Android.Runtime.Register("getReparentWithOverlay", "()Z", "GetGetReparentWithOverlayHandler")>]
[<set: Android.Runtime.Register("setReparentWithOverlay", "(Z)V", "GetSetReparentWithOverlay_ZHandler")>]
member this.ReparentWithOverlay : bool with get, set
Property Value
true
when a changed parent should execute the transition
inside the scene root's overlay or false
if a parent change only
affects the transform of the transitioning view.
- Attributes
Remarks
Property getter documentation:
Returns whether changes to parent should use an overlay or not. When the parent change doesn't use an overlay, it affects the transforms of the child. The default value is true
.
Note: when Overlays are not used when a parent changes, a view can be clipped when it moves outside the bounds of its parent. Setting android.view.ViewGroup#setClipChildren(boolean)
and android.view.ViewGroup#setClipToPadding(boolean)
can help. Also, when Overlays are not used and the parent is animating its location, the position of the child view will be relative to its parent's final position, so it may appear to "jump" at the beginning.
Java documentation for android.transition.ChangeTransform.getReparentWithOverlay()
.
Property setter documentation:
Sets whether changes to parent should use an overlay or not. When the parent change doesn't use an overlay, it affects the transforms of the child. The default value is true
.
Note: when Overlays are not used when a parent changes, a view can be clipped when it moves outside the bounds of its parent. Setting android.view.ViewGroup#setClipChildren(boolean)
and android.view.ViewGroup#setClipToPadding(boolean)
can help. Also, when Overlays are not used and the parent is animating its location, the position of the child view will be relative to its parent's final position, so it may appear to "jump" at the beginning.
Java documentation for android.transition.ChangeTransform.setReparentWithOverlay(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.