ViewAsserts.AssertBottomAligned 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| AssertBottomAligned(View, View) |
斷言兩個視角是底部對齊的,也就是它們的底邊位於相同的 y 位置。 |
| AssertBottomAligned(View, View, Int32) |
斷言兩個視圖底部對齊,也就是它們的底部邊相對於指定邊距位於相同的 y 位置。 |
AssertBottomAligned(View, View)
斷言兩個視角是底部對齊的,也就是它們的底邊位於相同的 y 位置。
[Android.Runtime.Register("assertBottomAligned", "(Landroid/view/View;Landroid/view/View;)V", "")]
public static void AssertBottomAligned(Android.Views.View? first, Android.Views.View? second);
[<Android.Runtime.Register("assertBottomAligned", "(Landroid/view/View;Landroid/view/View;)V", "")>]
static member AssertBottomAligned : Android.Views.View * Android.Views.View -> unit
參數
- first
- View
第一張圖
- second
- View
第二種觀點
- 屬性
備註
斷言兩個視角是底部對齊的,也就是它們的底邊位於相同的 y 位置。
Java 文件 android.test.ViewAsserts.assertBottomAligned(android.view.View, android.view.View)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
AssertBottomAligned(View, View, Int32)
斷言兩個視圖底部對齊,也就是它們的底部邊相對於指定邊距位於相同的 y 位置。
[Android.Runtime.Register("assertBottomAligned", "(Landroid/view/View;Landroid/view/View;I)V", "")]
public static void AssertBottomAligned(Android.Views.View? first, Android.Views.View? second, int margin);
[<Android.Runtime.Register("assertBottomAligned", "(Landroid/view/View;Landroid/view/View;I)V", "")>]
static member AssertBottomAligned : Android.Views.View * Android.Views.View * int -> unit
參數
- first
- View
第一張圖
- second
- View
第二種觀點
- margin
- Int32
第一張圖與第二張圖之間的邊界
- 屬性
備註
斷言兩個視圖底部對齊,也就是它們的底部邊相對於指定邊距位於相同的 y 位置。
Java 文件 android.test.ViewAsserts.assertBottomAligned(android.view.View, android.view.View, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。