ViewAsserts.AssertHorizontalCenterAligned(View, View) 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.
Assert that the test
view is horizontally center aligned
with respect to the reference
view.
[Android.Runtime.Register("assertHorizontalCenterAligned", "(Landroid/view/View;Landroid/view/View;)V", "")]
public static void AssertHorizontalCenterAligned (Android.Views.View? reference, Android.Views.View? test);
[<Android.Runtime.Register("assertHorizontalCenterAligned", "(Landroid/view/View;Landroid/view/View;)V", "")>]
static member AssertHorizontalCenterAligned : Android.Views.View * Android.Views.View -> unit
Parameters
- reference
- View
The reference view
- test
- View
The view that should be center aligned with the reference view
- Attributes
Remarks
Assert that the test
view is horizontally center aligned with respect to the reference
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.