Aracılığıyla paylaş


Fragment.IsInLayout Property

Definition

Return true if the layout is included as part of an activity view hierarchy via the <fragment> tag.

public bool IsInLayout { [Android.Runtime.Register("isInLayout", "()Z", "")] get; }
[<get: Android.Runtime.Register("isInLayout", "()Z", "")>]
member this.IsInLayout : bool

Property Value

Attributes

Remarks

Return true if the layout is included as part of an activity view hierarchy via the &lt;fragment&gt; tag. This will always be true when fragments are created through the &lt;fragment&gt; tag, <em>except</em> in the case where an old fragment is restored from a previous state and it does not appear in the layout of the current state.

Java documentation for android.app.Fragment.isInLayout().

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