ViewAsserts.AssertVerticalCenterAligned(View, View) Method

Definition

Assert that the test view is vertically center aligned with respect to the reference view.

[Android.Runtime.Register("assertVerticalCenterAligned", "(Landroid/view/View;Landroid/view/View;)V", "")]
public static void AssertVerticalCenterAligned (Android.Views.View? reference, Android.Views.View? test);
[<Android.Runtime.Register("assertVerticalCenterAligned", "(Landroid/view/View;Landroid/view/View;)V", "")>]
static member AssertVerticalCenterAligned : Android.Views.View * Android.Views.View -> unit

Parameters

reference
View

The reference view

test
View

The view that should be center aligned with the reference view

Attributes

Remarks

Assert that the test view is vertically center aligned with respect to the reference view.

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

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