Android.Test.ViewAsserts.AssertTopAligned Method
Assert that two views are top aligned, that is that their top edges are on the same y location, with respect to the specified margin.

Syntax

[Android.Runtime.Register("assertTopAligned", "(Landroid/view/View;Landroid/view/View;I)V", "")]
public static void AssertTopAligned (Android.Views.View first, Android.Views.View second, int margin)

Parameters

first
The first view
second
The second view
margin
The margin between the first view and the second view

Remarks

Assert that two views are top aligned, that is that their top edges are on the same y location, with respect to the specified margin.

[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