Sets the background of the bottom sheet.

@param resourceId
The resource id of the background, which should be set, as an {@link Integer} value.
The resource id must correspond to a valid drawable resource
195568
public final void setBackground(@DrawableRes final int resourceId) {
        this.background = ContextCompat.getDrawable(getContext(), resourceId);
        this.backgroundBitmap = null;
        this.backgroundId = -1;
        this.backgroundColor = -1;
        adaptBackground();
    }
827125
private void initialize(@StyleRes final int themeResourceId) {
        int themeId = themeResourceId;

        if (themeId == 0) {
            TypedValue typedValue = new TypedValue();
            getContext().getTheme().resolveAttribute(R.attr.materialDialogTheme, typedValue, true);
            themeId = typedValue.resourceId;
            themeId = themeId != 0 ? themeId : R.style.MaterialDialog_Light;
        }

        setContext(new ContextThemeWrapper(getContext(), themeId));
        this.themeResourceId = themeId;
        obtainStyledAttributes(themeId);
    }
845854
public void setResourceId(java.util.Collection<StringFilter> resourceId) {
        if (resourceId == null) {
            this.resourceId = null;
            return;
        }

        this.resourceId = new java.util.ArrayList<StringFilter>(resourceId);
    }
106945
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
    public final void setPopupBackgroundDrawable(final Drawable background) {
        getView().setPopupBackgroundDrawable(background);
    }
744671
public void unload(String resourceId) {
        LoadableResource res = this.resources.get(resourceId);
        if (Objects.nonNull(res)) {
            res.unload();
        }
    }
1236253
public void addTintTransformationResourceId(int resId) {
        if (mCustomTransformationDrawableIds == null)
            mCustomTransformationDrawableIds = new ArrayList<Integer>();
        mCustomTransformationDrawableIds.add(resId);
    }
942641
@NonNull
    public IconicsDrawable backgroundContourColorRes(@ColorRes int colorResId) {
        return backgroundContourColor(ContextCompat.getColor(mContext, colorResId));
    }
39415
public void setTexture(final int bitmapId) {
        if (bitmapId < 0)
            return;

        final GVRAndroidResource resource = new GVRAndroidResource(
                mContext.getContext(), bitmapId);
        setTexture(mContext.getAssetLoader().loadTexture(resource));
    }
1223904
func (s *GetIntegrationInput) SetResourceId(v string) *GetIntegrationInput {
	s.ResourceId = &v
	return s
}
119267
public void setResourceId(String resourceId) {

        try {
            if (!m_type.isFolder()) {
                m_resourceId = new CmsUUID(resourceId);
            } else {
                m_resourceId = new CmsUUID();
            }
        } catch (Throwable e) {
            setThrowable(e);
        }
    }
1243389
public void setRetryImage(int resourceId, ScalingUtils.ScaleType scaleType) {
    setRetryImage(mResources.getDrawable(resourceId), scaleType);
  }
995003
private void obtainHeaderBackground(@StyleRes final int themeResourceId) {
        TypedArray typedArray = getContext().getTheme().obtainStyledAttributes(themeResourceId,
                new int[]{R.attr.materialDialogHeaderBackground});
        int resourceId = typedArray.getResourceId(0, 0);

        if (resourceId != 0) {
            setHeaderBackground(resourceId);
        } else {
            setHeaderBackgroundColor(
                    ThemeUtil.getColor(getContext(), themeResourceId, R.attr.colorPrimary));
        }
    }
174838
public final void setDialogHeaderBackground(@Nullable final Bitmap background) {
        this.dialogHeaderBackground = new BitmapDrawable(getContext().getResources(), background);
        this.dialogHeaderBackgroundBitmap = background;
        this.dialogHeaderBackgroundId = -1;
        this.dialogHeaderBackgroundColor = -1;
    }
62078
public void unload(String resourceId) {
        LoadableResource res = this.resources.get(resourceId);
        if (res!=null) {
            res.unload();
        }
    }
1200614
private void obtainScrollableArea(@StyleRes final int themeResourceId) {
        TypedArray typedArray = getContext().getTheme().obtainStyledAttributes(themeResourceId,
                new int[]{R.attr.materialDialogScrollableAreaTop,
                        R.attr.materialDialogScrollableAreaBottom});
        int topIndex = typedArray.getInt(0, -1);
        int bottomIndex = typedArray.getInt(1, -1);

        if (topIndex != -1) {
            Area top = Area.fromIndex(topIndex);

            if (bottomIndex != -1) {
                Area bottom = Area.fromIndex(bottomIndex);
                setScrollableArea(top, bottom);
            } else {
                setScrollableArea(top);
            }
        } else {
            setScrollableArea(null, null);
        }
    }
921076
public static void setBackground(EfficientCacheView cacheView, int viewId, Drawable drawable) {
        View view = cacheView.findViewByIdEfficient(viewId);
        if (view != null) {
            if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) {
                view.setBackgroundDrawable(drawable);
            } else {
                view.setBackground(drawable);
            }
        }
    }
886192
public final UploadNotificationConfig setIconForAllStatuses(int resourceID) {
        progress.iconResourceID = resourceID;
        completed.iconResourceID = resourceID;
        error.iconResourceID = resourceID;
        cancelled.iconResourceID = resourceID;
        return this;
    }