Set the icon of the bottom sheet.

@param attributeId
The id of the theme attribute, which supplies the icon, which should be set, as an
{@link Integer} value. The id must point to a valid drawable resource
547089
public final void setIconAttribute(@AttrRes final int attributeId) {
        TypedArray typedArray =
                getContext().getTheme().obtainStyledAttributes(new int[]{attributeId});
        this.icon = typedArray.getDrawable(0);
        this.iconBitmap = null;
        this.iconId = -1;
        this.iconAttributeId = attributeId;
        adaptIcon();
    }
1369639
public void setIcon(FontOpenCms icon, String color) {

        if (icon != null) {
            m_iconCell.setInnerHTML(icon.getHtml(32, color));
        } else {
            m_iconCell.setInnerHTML("");
        }
    }
1019424
public T backgroundColorId(int colorId) {

        if (view != null) {
            view.setBackgroundColor(context.getResources().getColor(colorId));
        }

        return self();
    }
877667
private void obtainPadding(@StyleRes final int themeResourceId) {
        TypedArray typedArray = getContext().getTheme().obtainStyledAttributes(themeResourceId,
                new int[]{R.attr.materialDialogPaddingLeft, R.attr.materialDialogPaddingTop,
                        R.attr.materialDialogPaddingRight, R.attr.materialDialogPaddingBottom});
        int defaultLeftPadding =
                getContext().getResources().getDimensionPixelSize(R.dimen.dialog_left_padding);
        int defaultTopPadding =
                getContext().getResources().getDimensionPixelSize(R.dimen.dialog_top_padding);
        int defaultRightPadding =
                getContext().getResources().getDimensionPixelSize(R.dimen.dialog_right_padding);
        int defaultBottomPadding =
                getContext().getResources().getDimensionPixelSize(R.dimen.dialog_bottom_padding);
        int left = typedArray.getDimensionPixelSize(0, defaultLeftPadding);
        int top = typedArray.getDimensionPixelSize(1, defaultTopPadding);
        int right = typedArray.getDimensionPixelSize(2, defaultRightPadding);
        int bottom = typedArray.getDimensionPixelSize(3, defaultBottomPadding);
        setPadding(left, top, right, bottom);
    }
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);
    }
354870
@Override
    public void setContainerId(String containerId) {
        if (getId() == null) {
            super.setContainerId(containerId);
            JQMContext.attachAndEnhance(this);
        } else if (! containerId.equals(getId())) {
            throw new IllegalStateException("Attempt to change JQMPage with containerId '" + getId() + "' to '" + containerId + "' failed - once set, it cannot be changed.");
        }
    }
1165194
private void adaptIconTint() {
        Drawable icon = getIcon();

        if (icon != null) {
            DrawableCompat.setTintList(icon, tintList);
            DrawableCompat.setTintMode(icon, tintMode);
        }
    }
761014
public void set(String name, Object obj) throws IOException {
        if (!(obj instanceof AlgorithmId)) {
            throw new IOException("Attribute must be of type AlgorithmId.");
        }
        if (name.equalsIgnoreCase(ALGORITHM)) {
            algId = (AlgorithmId)obj;
        } else {
            throw new IOException("Attribute name not recognized by " +
                              "CertAttrSet:CertificateAlgorithmId.");
        }
    }
698584
public void setShowIcon(final boolean showIcon) {
        if (!showIcon)
            attrMixin.setAttribute(SHOW_ICON, Boolean.toString(false));
        else
            attrMixin.removeAttribute(SHOW_ICON);
    }
964128
@Override
  public final void setItsId(final IdUserRoleTomcat pItsId) {
    this.itsId = pItsId;
    if (this.itsId == null) {
      this.itsUser = null;
      this.itsRole = null;
    } else {
      this.itsUser = this.itsId.getItsUser();
      this.itsRole = this.itsId.getItsRole();
    }
  }
99439
private void obtainIconTintList(@StyleRes final int themeResourceId) {
        TypedArray typedArray = getContext().getTheme()
                .obtainStyledAttributes(themeResourceId, new int[]{R.attr.materialDialogIconTint});
        setIconTintList(typedArray.getColorStateList(0));
    }
702755
public void setAttribute(final String attributeName, final String attributeValue) {
        uiObject.getElement().setAttribute(attributeName, attributeValue);
    }
481906
@Override
  public final void setItsId(final AdvisedGoodsForGoodsId pItsId) {
    this.itsId = pItsId;
    if (this.itsId != null) {
      this.advisedCategory = this.itsId.getAdvisedCategory();
      this.forAdviseCategory = this.itsId.getForAdviseCategory();
    } else {
      this.advisedCategory = null;
      this.forAdviseCategory = null;
    }
  }
804541
public boolean setIcon(MarkerOptions markerOptions, IconRow icon) {
        return StyleUtils.setIcon(markerOptions, icon, density, iconCache);
    }
917450
public final void setDialogHeaderBackground(@DrawableRes final int resourceId) {
        this.dialogHeaderBackground = ContextCompat.getDrawable(getContext(), resourceId);
        this.dialogHeaderBackgroundBitmap = null;
        this.dialogHeaderBackgroundId = resourceId;
        this.dialogHeaderBackgroundColor = -1;
    }
219835
protected void setPropertiesFromAttributes(AttributeSet attr)
    {
        if (attr != null)
        {
            Font newFont = (Font) attr.getAttribute(Constants.ATTRIBUTE_FONT);
            if (newFont != null)
            {
                setFont(newFont);
            }
            else
            {
                // the font is the most important for us
                throw new IllegalStateException("Font can not be null !");
            }

            setForeground((Color) attr.getAttribute(Constants.ATTRIBUTE_FOREGROUND));
            setFontVariant((String) attr.getAttribute(Constants.ATTRIBUTE_FONT_VARIANT));

            @SuppressWarnings("unchecked")
            List<TextDecoration> attribute = (List<TextDecoration>) attr.getAttribute(Constants.ATTRIBUTE_TEXT_DECORATION);
            setTextDecoration(attribute);
        }
    }
893030
public void setId(String id) {
        logger.entering(id);
        this.id = id;
        logger.exiting();
    }