ViewAsserts.AssertTopAligned Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AssertTopAligned(View, View) |
Assert that two views are top aligned, that is that their top edges are on the same y location. |
AssertTopAligned(View, View, Int32) |
Assert that two views are top aligned, that is that their top edges are on the same y location, with respect to the specified margin. |
AssertTopAligned(View, View)
Assert that two views are top aligned, that is that their top edges are on the same y location.
[Android.Runtime.Register("assertTopAligned", "(Landroid/view/View;Landroid/view/View;)V", "")]
public static void AssertTopAligned (Android.Views.View? first, Android.Views.View? second);
[<Android.Runtime.Register("assertTopAligned", "(Landroid/view/View;Landroid/view/View;)V", "")>]
static member AssertTopAligned : 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 top aligned, that is that their top edges are on the same y location.
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
AssertTopAligned(View, View, Int32)
Assert that two views are top aligned, that is that their top edges are on the same y location, with respect to the specified margin.
[Android.Runtime.Register("assertTopAligned", "(Landroid/view/View;Landroid/view/View;I)V", "")]
public static void AssertTopAligned (Android.Views.View? first, Android.Views.View? second, int margin);
[<Android.Runtime.Register("assertTopAligned", "(Landroid/view/View;Landroid/view/View;I)V", "")>]
static member AssertTopAligned : 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 top aligned, that is that their top edges are on the same y location, with respect to the specified margin.
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.