WindowManagerLayoutParams.VerticalMargin Property
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.
The vertical margin, as a percentage of the container's height, between the container and the widget.
[Android.Runtime.Register("verticalMargin")]
public float VerticalMargin { get; set; }
[<Android.Runtime.Register("verticalMargin")>]
member this.VerticalMargin : single with get, set
Property Value
- Attributes
Remarks
The vertical margin, as a percentage of the container's height, between the container and the widget. See Gravity#apply(int, int, int, android.graphics.Rect, int, int, android.graphics.Rect) Gravity.apply
for how this is used. This field is added with #y
to supply the <var>yAdj</var> parameter.
Java documentation for android.view.WindowManager.LayoutParams.verticalMargin
.
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.