- view
- Documentation for this section has not yet been entered.
Sets a view to be the content view for this Dream. Behaves similarly to Android.App.Activity.SetContentView(Android.Views.View) in an activity, including using NoType:android/view/ViewGroup$LayoutParams;Href=../../../../reference/android/view/ViewGroup.LayoutParams.html#MATCH_PARENT as the layout height and width of the view.
Note: This requires a window, so you should usually call it during DreamService.OnAttachedToWindow and never earlier (you cannot call it during DreamService.onCreate()).