Android.Service.Dreams.DreamService.SetContentView Method
Inflates a layout resource and set it to be the content view for this Dream.

Syntax

[Android.Runtime.Register("setContentView", "(I)V", "GetSetContentView_IHandler")]
public virtual void SetContentView (int layoutResID)

See Also

DreamService.SetContentView(Android.Views.View)
DreamService.SetContentView(Android.Views.View, .LayoutParams)

Parameters

layoutResID
Resource ID to be inflated.

Remarks

Inflates a layout resource and set it to be the content view for this Dream. Behaves similarly to Android.App.Activity.SetContentView(int).

Note: Requires a window, do not call before DreamService.OnAttachedToWindow

[Android Documentation]

Requirements

Namespace: Android.Service.Dreams
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17