Android.Views.Window.SetBackgroundDrawableResource Method
Change the background of this window to a Drawable resource.

Syntax

[Android.Runtime.Register("setBackgroundDrawableResource", "(I)V", "GetSetBackgroundDrawableResource_IHandler")]
public virtual void SetBackgroundDrawableResource (int resid)

Parameters

resid
The resource identifier of a drawable resource which will be installed as the new background.

Remarks

Change the background of this window to a Drawable resource. Setting the background to null will make the window be opaque. To make the window transparent, you can use an empty drawable (for instance a ColorDrawable with the color 0 or the system drawable android:drawable/empty.)

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1