English | Site Directory

Android - An Open Handset Alliance Project

android.view
public class

android.view.ContextThemeWrapper

java.lang.Object
android.content.Context
android.content.ContextWrapper
android.view.ContextThemeWrapper

A ContextWrapper that allows you to modify the theme from what is in the wrapped context.

Summary

Constants inherited from class android.content.Context

Public Constructors

          ContextThemeWrapper(Context base, int themeres)

Public Methods

        Object  getSystemService(String name)
Return the handle to a system-level service by name.
        Theme  getTheme()
Return the Theme object associated with this Context.
        void  setTheme(int resid)
Set the base theme for this context.
Methods inherited from class android.content.ContextWrapper
Methods inherited from class android.content.Context