語言

ViewAsserts.AssertLeftAligned 方法

定義

多載

名稱 Description
AssertLeftAligned(View, View, Int32)

斷言兩個視角是左對齊的,也就是說它們的左邊相對於指定的邊界位於相同的 x 位置。

AssertLeftAligned(View, View)

斷言兩個視角是左邊對齊的,也就是它們的左邊位於相同的 x 位置。

AssertLeftAligned(View, View, Int32)

斷言兩個視角是左對齊的,也就是說它們的左邊相對於指定的邊界位於相同的 x 位置。

[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

參數

first
View

第一張圖

second
View

第二種觀點

margin
Int32

第一張圖與第二張圖之間的邊界

屬性

備註

斷言兩個視角是左對齊的,也就是說它們的左邊相對於指定的邊界位於相同的 x 位置。

Java 文件 android.test.ViewAsserts.assertLeftAligned(android.view.View, android.view.View, int)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AssertLeftAligned(View, View)

斷言兩個視角是左邊對齊的,也就是它們的左邊位於相同的 x 位置。

[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

參數

first
View

第一張圖

second
View

第二種觀點

屬性

備註

斷言兩個視角是左邊對齊的,也就是它們的左邊位於相同的 x 位置。

Java 文件 android.test.ViewAsserts.assertLeftAligned(android.view.View, android.view.View)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於