語言

ViewAsserts.AssertRightAligned 方法

定義

多載

名稱 Description
AssertRightAligned(View, View)

判斷提示兩個檢視靠右對齊,也就是其右邊緣位於相同的 x 位置。

AssertRightAligned(View, View, Int32)

判斷提示兩個檢視靠右對齊,也就是說,其右邊緣位於相同的 x 位置上,相對於指定的邊界。

AssertRightAligned(View, View)

判斷提示兩個檢視靠右對齊,也就是其右邊緣位於相同的 x 位置。

[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

參數

first
View

第一個檢視

second
View

第二個檢視

屬性

備註

判斷提示兩個檢視靠右對齊,也就是其右邊緣位於相同的 x 位置。

android.test.ViewAsserts.assertRightAligned(android.view.View, android.view.View)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

AssertRightAligned(View, View, Int32)

判斷提示兩個檢視靠右對齊,也就是說,其右邊緣位於相同的 x 位置上,相對於指定的邊界。

[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

參數

first
View

第一個檢視

second
View

第二個檢視

margin
Int32

第一個檢視與第二個檢視之間的邊界

屬性

備註

判斷提示兩個檢視靠右對齊,也就是說,其右邊緣位於相同的 x 位置上,相對於指定的邊界。

android.test.ViewAsserts.assertRightAligned(android.view.View, android.view.View, int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於