Android.Test.ViewAsserts.AssertHorizontalCenterAligned Method
Assert that the test view is horizontally center aligned with respect to the reference view.

Syntax

[Android.Runtime.Register("assertHorizontalCenterAligned", "(Landroid/view/View;Landroid/view/View;)V", "")]
public static void AssertHorizontalCenterAligned (Android.Views.View reference, Android.Views.View test)

Parameters

reference
The reference view
test
The view that should be center aligned with the reference view

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.Test
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1