Udostępnij za pośrednictwem


VisibilityPropagation.GetViewX(TransitionValues) Method

Definition

Returns the View's center x coordinate, relative to the screen, at the time the values were captured.

[Android.Runtime.Register("getViewX", "(Landroid/transition/TransitionValues;)I", "GetGetViewX_Landroid_transition_TransitionValues_Handler")]
public virtual int GetViewX (Android.Transitions.TransitionValues? values);
[<Android.Runtime.Register("getViewX", "(Landroid/transition/TransitionValues;)I", "GetGetViewX_Landroid_transition_TransitionValues_Handler")>]
abstract member GetViewX : Android.Transitions.TransitionValues -> int
override this.GetViewX : Android.Transitions.TransitionValues -> int

Parameters

values
TransitionValues

The TransitionValues captured at the start or end of the Transition.

Returns

the View's center x coordinate, relative to the screen, at the time the values were captured.

Attributes

Remarks

Returns the View's center x coordinate, relative to the screen, at the time the values were captured.

Java documentation for android.transition.VisibilityPropagation.getViewX(android.transition.TransitionValues).

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