ContextThemeWrapper

Class of android.view · ContextThemeWrapper.java · Android's reference

public class ContextThemeWrapper extends ContextWrapper

ContextThemeWrapper ← ContextWrapper ← Context

A context with a theme of its own.

Extended in the framework by

Constructors

public ContextThemeWrapper() source
public ContextThemeWrapper(Context base, int themeResId) source
public ContextThemeWrapper(Context base, Resources.Theme theme) source

Methods

protected void attachBaseContext(Context newBase) source
public void applyOverrideConfiguration(Configuration overrideConfiguration) source
public Configuration getOverrideConfiguration() source
public AssetManager getAssets() source
public Resources getResources() source
public void setTheme(int resid) source
public void setTheme(Resources.Theme theme) source
public int getThemeResId() source
public Resources.Theme getTheme() source
protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) source
public Object getSystemService(String name) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.