Udostępnij za pośrednictwem


RelativeLayout.LayoutParams.AlignWithParent Property

Definition

When true, uses the parent as the anchor if the anchor doesn't exist or if the anchor's visibility is GONE.

[Android.Runtime.Register("alignWithParent")]
public bool AlignWithParent { get; set; }
[<Android.Runtime.Register("alignWithParent")>]
member this.AlignWithParent : bool with get, set

Property Value

Attributes

Remarks

When true, uses the parent as the anchor if the anchor doesn't exist or if the anchor's visibility is GONE.

Java documentation for android.widget.RelativeLayout.LayoutParams.alignWithParent.

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