Code example for Window

Methods: getAttributes, setAttributes

0
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 { 
            array[2] = new BitmapDrawable(icon);
        } 
        LayerDrawable d = new LayerDrawable(array);
        d.setLayerInset(1, 1, 1, 1, 1);
        d.setLayerInset(2, 2, 2, 2, 2);
        return d;
    } 
 
    public boolean isLoading() { 
        return mActiveTab != null ? mActiveTab.inPageLoad() : false;
    }