Udostępnij za pośrednictwem


RemoteViews.LayoutId Property

Definition

Returns the layout id of the root layout associated with this RemoteViews.

public virtual int LayoutId { [Android.Runtime.Register("getLayoutId", "()I", "GetGetLayoutIdHandler")] get; }
[<get: Android.Runtime.Register("getLayoutId", "()I", "GetGetLayoutIdHandler")>]
member this.LayoutId : int

Property Value

the layout id.

Attributes

Remarks

Returns the layout id of the root layout associated with this RemoteViews. In the case that the RemoteViews has both a landscape and portrait root, this will return the layout id associated with the portrait layout.

Java documentation for android.widget.RemoteViews.getLayoutId().

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