TransitionSet Constructors
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.
Overloads
| Name | Description |
|---|---|
| TransitionSet() |
Constructs an empty transition set. |
| TransitionSet(Context, IAttributeSet) |
Constructs a TransitionSet from XML attributes. |
| TransitionSet(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
TransitionSet()
Constructs an empty transition set.
[Android.Runtime.Register(".ctor", "()V", "")]
public TransitionSet();
- Attributes
Remarks
Constructs an empty transition set. Add child transitions to the set by calling #addTransition(Transition) )}. By default, child transitions will play #ORDERING_TOGETHER together.
Java documentation for android.transition.TransitionSet.TransitionSet().
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
TransitionSet(Context, IAttributeSet)
Constructs a TransitionSet from XML attributes.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public TransitionSet(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Transitions.TransitionSet : Android.Content.Context * Android.Util.IAttributeSet -> Android.Transitions.TransitionSet
Parameters
- context
- Context
The context used to obtain the transition set style attributes.
- attrs
- IAttributeSet
The XML attributes that supply the transition set style attributes.
- Attributes
Remarks
The android:transitionOrdering attribute controls whether child transitions play together or sequentially.
Java documentation for android.transition.TransitionSet.
Android Open Source Project source for XML-constructor behavior.
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
TransitionSet(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected TransitionSet(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Transitions.TransitionSet : nativeint * Android.Runtime.JniHandleOwnership -> Android.Transitions.TransitionSet
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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.