Compartir a través de


ViewAsserts.AssertRightAligned Method

Definition

Overloads

AssertRightAligned(View, View)

Assert that two views are right aligned, that is that their right edges are on the same x location.

AssertRightAligned(View, View, Int32)

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

AssertRightAligned(View, View)

Assert that two views are right aligned, that is that their right edges are on the same x location.

[Android.Runtime.Register("assertRightAligned", "(Landroid/view/View;Landroid/view/View;)V", "")]
public static void AssertRightAligned (Android.Views.View? first, Android.Views.View? second);
[<Android.Runtime.Register("assertRightAligned", "(Landroid/view/View;Landroid/view/View;)V", "")>]
static member AssertRightAligned : Android.Views.View * Android.Views.View -> unit

Parameters

first
View

The first view

second
View

The second view

Attributes

Remarks

Assert that two views are right aligned, that is that their right edges are on the same x location.

Java documentation for android.test.ViewAsserts.assertRightAligned(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

AssertRightAligned(View, View, Int32)

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

[Android.Runtime.Register("assertRightAligned", "(Landroid/view/View;Landroid/view/View;I)V", "")]
public static void AssertRightAligned (Android.Views.View? first, Android.Views.View? second, int margin);
[<Android.Runtime.Register("assertRightAligned", "(Landroid/view/View;Landroid/view/View;I)V", "")>]
static member AssertRightAligned : Android.Views.View * Android.Views.View * int -> unit

Parameters

first
View

The first view

second
View

The second view

margin
Int32

The margin between the first view and the second view

Attributes

Remarks

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

Java documentation for android.test.ViewAsserts.assertRightAligned(android.view.View, android.view.View, 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