Code example for ContextThemeWrapper

0
 
    /** 
     * see http://stackoverflow.com/a/8547823/438886 
     */ 
    public static Context wrapWithDialogContext(Context context) { 
        return new ContextThemeWrapper(context, android.R.style.Theme_Dialog); 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE