次の方法で共有


ViewAsserts.AssertLeftAligned Method

Definition

Overloads

AssertLeftAligned(View, View, Int32)

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

AssertLeftAligned(View, View)

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

AssertLeftAligned(View, View, Int32)

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

[Android.Runtime.Register("assertLeftAligned", "(Landroid/view/View;Landroid/view/View;I)V", "")]
public static void AssertLeftAligned (Android.Views.View? first, Android.Views.View? second, int margin);
[<Android.Runtime.Register("assertLeftAligned", "(Landroid/view/View;Landroid/view/View;I)V", "")>]
static member AssertLeftAligned : 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 left aligned, that is that their left edges are on the same x location, with respect to the specified margin.

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

AssertLeftAligned(View, View)

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

[Android.Runtime.Register("assertLeftAligned", "(Landroid/view/View;Landroid/view/View;)V", "")]
public static void AssertLeftAligned (Android.Views.View? first, Android.Views.View? second);
[<Android.Runtime.Register("assertLeftAligned", "(Landroid/view/View;Landroid/view/View;)V", "")>]
static member AssertLeftAligned : 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 left aligned, that is that their left edges are on the same x location.

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