ViewAsserts.AssertHasScreenCoordinates(View, View, Int32, Int32) Method

Definition

Assert that a view has a particular x and y position on the visible screen.

[Android.Runtime.Register("assertHasScreenCoordinates", "(Landroid/view/View;Landroid/view/View;II)V", "")]
public static void AssertHasScreenCoordinates (Android.Views.View? origin, Android.Views.View? view, int x, int y);
[<Android.Runtime.Register("assertHasScreenCoordinates", "(Landroid/view/View;Landroid/view/View;II)V", "")>]
static member AssertHasScreenCoordinates : Android.Views.View * Android.Views.View * int * int -> unit

Parameters

origin
View

The root view of the screen.

view
View

The view.

x
Int32

The expected x coordinate.

y
Int32

The expected y coordinate.

Attributes

Remarks

Assert that a view has a particular x and y position on the visible screen.

Java documentation for android.test.ViewAsserts.assertHasScreenCoordinates(android.view.View, android.view.View, int, int).

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