RelativeLayout.LayoutParams.AlignWithParent 属性

定义

如果为 true,则使用父级作为定位点(如果定位点不存在或定位点的可见性为 GONE)。

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

属性值

属性

注解

如果为 true,则使用父级作为定位点(如果定位点不存在或定位点的可见性为 GONE)。

适用于 . 的 android.widget.RelativeLayout.LayoutParams.alignWithParentJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于