Code example for FrameLayout

Methods: setSystemUiVisibility

0
                if (Build.VERSION.SDK_INT > 10) {
                    mCustomView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE);
                } 
            } else { 
                if (Build.VERSION.SDK_INT > 10) {
                    mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE);
                } 
            } 
        } 
        win.setAttributes(winParams);
    } 
 
    public Drawable getFaviconDrawable(Bitmap icon) {
        Drawable[] array = new Drawable[3];
        array[0] = new PaintDrawable(Color.BLACK);
        PaintDrawable p = new PaintDrawable(Color.WHITE);
        array[1] = p;
        if (icon == null) {
            array[2] = mGenericFavicon;
        } else { 
Stop searching for code, let great code find you!  Add Codota to your java IDE