Lines Matching defs:theme
20 import android.content.res.Resources.Theme;
25 * Same as {@link ContextThemeWrapper}, but the base context's theme attributes take precedence
26 * over the wrapper context's. This is used to provide default values for theme attributes
28 * theme.
33 * Creates a new context wrapper with the specified theme.
35 * The specified theme will be applied as fallbacks to the base context's theme. Any attributes
36 * defined in the base context's theme will retain their original values. Otherwise values in
40 * @param themeResId The theme to use as fallback.
50 protected void onApplyThemeResource(Theme theme, int resId, boolean first) {
51 theme.applyStyle(resId, false /* force */);