Context.SetTheme(Int32) Context.SetTheme(Int32) Method

Definition

Set the base theme for this context.

[Android.Runtime.Register("setTheme", "(I)V", "GetSetTheme_IHandler")]
public abstract void SetTheme (int resid);
abstract member SetTheme : int -> unit

Parameters

resid
Int32 Int32

The style resource describing the theme.

Remarks

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