ViewStub.LayoutResource ViewStub.LayoutResource Property


Returns the layout resource that will be used by Android.Views.ViewStub.setVisibility(int) or Inflate() to replace this StubbedView in its parent by another view.

[get: Android.Runtime.Register("getLayoutResource", "()I", "GetGetLayoutResourceHandler")]
[set: Android.Runtime.Register("setLayoutResource", "(I)V", "GetSetLayoutResource_IHandler")]
public int LayoutResource { get; set; }
member this.LayoutResource : int with get, set

Property Value


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

See also