Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a426445d authored by Alan Viverette's avatar Alan Viverette
Browse files

Separate tint and tintMode properties

BUG: 16054922
Change-Id: I820fb857b671faf9eb27612e470e820c5c4cd6b5
parent 33559c96
Loading
Loading
Loading
Loading
+25 −23
Original line number Diff line number Diff line
@@ -11777,7 +11777,9 @@ package android.graphics.drawable {
    method public void setHotspotBounds(int, int, int, int);
    method public final boolean setLevel(int);
    method public boolean setState(int[]);
    method public void setTint(android.content.res.ColorStateList, android.graphics.PorterDuff.Mode);
    method public void setTint(int);
    method public void setTintList(android.content.res.ColorStateList);
    method public void setTintMode(android.graphics.PorterDuff.Mode);
    method public boolean setVisible(boolean, boolean);
    method public void unscheduleSelf(java.lang.Runnable);
  }
@@ -34266,7 +34268,7 @@ package android.view {
    method public android.view.animation.Animation getAnimation();
    method public android.os.IBinder getApplicationWindowToken();
    method public android.graphics.drawable.Drawable getBackground();
    method public android.content.res.ColorStateList getBackgroundTint();
    method public android.content.res.ColorStateList getBackgroundTintList();
    method public android.graphics.PorterDuff.Mode getBackgroundTintMode();
    method public int getBaseline();
    method public final int getBottom();
@@ -34547,7 +34549,7 @@ package android.view {
    method public void setBackgroundColor(int);
    method public deprecated void setBackgroundDrawable(android.graphics.drawable.Drawable);
    method public void setBackgroundResource(int);
    method public void setBackgroundTint(android.content.res.ColorStateList);
    method public void setBackgroundTintList(android.content.res.ColorStateList);
    method public void setBackgroundTintMode(android.graphics.PorterDuff.Mode);
    method public final void setBottom(int);
    method public void setCameraDistance(float);
@@ -37602,13 +37604,13 @@ package android.widget {
    method public boolean getSplitTrack();
    method public android.graphics.drawable.Drawable getThumb();
    method public int getThumbOffset();
    method public android.content.res.ColorStateList getThumbTint();
    method public android.content.res.ColorStateList getThumbTintList();
    method public android.graphics.PorterDuff.Mode getThumbTintMode();
    method public void setKeyProgressIncrement(int);
    method public void setSplitTrack(boolean);
    method public void setThumb(android.graphics.drawable.Drawable);
    method public void setThumbOffset(int);
    method public void setThumbTint(android.content.res.ColorStateList);
    method public void setThumbTintList(android.content.res.ColorStateList);
    method public void setThumbTintMode(android.graphics.PorterDuff.Mode);
  }
@@ -37995,12 +37997,12 @@ package android.widget {
    ctor public CheckedTextView(android.content.Context, android.util.AttributeSet, int);
    ctor public CheckedTextView(android.content.Context, android.util.AttributeSet, int, int);
    method public android.graphics.drawable.Drawable getCheckMarkDrawable();
    method public android.content.res.ColorStateList getCheckMarkTint();
    method public android.content.res.ColorStateList getCheckMarkTintList();
    method public android.graphics.PorterDuff.Mode getCheckMarkTintMode();
    method public boolean isChecked();
    method public void setCheckMarkDrawable(int);
    method public void setCheckMarkDrawable(android.graphics.drawable.Drawable);
    method public void setCheckMarkTint(android.content.res.ColorStateList);
    method public void setCheckMarkTintList(android.content.res.ColorStateList);
    method public void setCheckMarkTintMode(android.graphics.PorterDuff.Mode);
    method public void setChecked(boolean);
    method public void toggle();
@@ -38030,12 +38032,12 @@ package android.widget {
    ctor public CompoundButton(android.content.Context, android.util.AttributeSet);
    ctor public CompoundButton(android.content.Context, android.util.AttributeSet, int);
    ctor public CompoundButton(android.content.Context, android.util.AttributeSet, int, int);
    method public android.content.res.ColorStateList getButtonTint();
    method public android.content.res.ColorStateList getButtonTintList();
    method public android.graphics.PorterDuff.Mode getButtonTintMode();
    method public boolean isChecked();
    method public void setButtonDrawable(int);
    method public void setButtonDrawable(android.graphics.drawable.Drawable);
    method public void setButtonTint(android.content.res.ColorStateList);
    method public void setButtonTintList(android.content.res.ColorStateList);
    method public void setButtonTintMode(android.graphics.PorterDuff.Mode);
    method public void setChecked(boolean);
    method public void setOnCheckedChangeListener(android.widget.CompoundButton.OnCheckedChangeListener);
@@ -38299,13 +38301,13 @@ package android.widget {
    method public deprecated boolean getConsiderGoneChildrenWhenMeasuring();
    method public android.graphics.drawable.Drawable getForeground();
    method public int getForegroundGravity();
    method public android.content.res.ColorStateList getForegroundTint();
    method public android.content.res.ColorStateList getForegroundTintList();
    method public android.graphics.PorterDuff.Mode getForegroundTintMode();
    method public boolean getMeasureAllChildren();
    method protected void onLayout(boolean, int, int, int, int);
    method public void setForeground(android.graphics.drawable.Drawable);
    method public void setForegroundGravity(int);
    method public void setForegroundTint(android.content.res.ColorStateList);
    method public void setForegroundTintList(android.content.res.ColorStateList);
    method public void setForegroundTintMode(android.graphics.PorterDuff.Mode);
    method public void setMeasureAllChildren(boolean);
  }
@@ -38512,11 +38514,11 @@ package android.widget {
    method public android.graphics.drawable.Drawable getDrawable();
    method public int getImageAlpha();
    method public android.graphics.Matrix getImageMatrix();
    method public android.content.res.ColorStateList getImageTintList();
    method public android.graphics.PorterDuff.Mode getImageTintMode();
    method public int getMaxHeight();
    method public int getMaxWidth();
    method public android.widget.ImageView.ScaleType getScaleType();
    method public android.content.res.ColorStateList getTint();
    method public android.graphics.PorterDuff.Mode getTintMode();
    method public int[] onCreateDrawableState(int);
    method public void setAdjustViewBounds(boolean);
    method public deprecated void setAlpha(int);
@@ -38534,12 +38536,12 @@ package android.widget {
    method public void setImageMatrix(android.graphics.Matrix);
    method public void setImageResource(int);
    method public void setImageState(int[], boolean);
    method public void setImageTintList(android.content.res.ColorStateList);
    method public void setImageTintMode(android.graphics.PorterDuff.Mode);
    method public void setImageURI(android.net.Uri);
    method public void setMaxHeight(int);
    method public void setMaxWidth(int);
    method public void setScaleType(android.widget.ImageView.ScaleType);
    method public void setTint(android.content.res.ColorStateList);
    method public void setTintMode(android.graphics.PorterDuff.Mode);
  }
  public static final class ImageView.ScaleType extends java.lang.Enum {
@@ -38914,18 +38916,18 @@ package android.widget {
    ctor public ProgressBar(android.content.Context, android.util.AttributeSet, int);
    ctor public ProgressBar(android.content.Context, android.util.AttributeSet, int, int);
    method public android.graphics.drawable.Drawable getIndeterminateDrawable();
    method public android.content.res.ColorStateList getIndeterminateTint();
    method public android.content.res.ColorStateList getIndeterminateTintList();
    method public android.graphics.PorterDuff.Mode getIndeterminateTintMode();
    method public android.view.animation.Interpolator getInterpolator();
    method public synchronized int getMax();
    method public synchronized int getProgress();
    method public android.content.res.ColorStateList getProgressBackgroundTint();
    method public android.content.res.ColorStateList getProgressBackgroundTintList();
    method public android.graphics.PorterDuff.Mode getProgressBackgroundTintMode();
    method public android.graphics.drawable.Drawable getProgressDrawable();
    method public android.content.res.ColorStateList getProgressTint();
    method public android.content.res.ColorStateList getProgressTintList();
    method public android.graphics.PorterDuff.Mode getProgressTintMode();
    method public synchronized int getSecondaryProgress();
    method public android.content.res.ColorStateList getSecondaryProgressTint();
    method public android.content.res.ColorStateList getSecondaryProgressTintList();
    method public android.graphics.PorterDuff.Mode getSecondaryProgressTintMode();
    method public final synchronized void incrementProgressBy(int);
    method public final synchronized void incrementSecondaryProgressBy(int);
@@ -38935,20 +38937,20 @@ package android.widget {
    method public synchronized void setIndeterminate(boolean);
    method public void setIndeterminateDrawable(android.graphics.drawable.Drawable);
    method public void setIndeterminateDrawableTiled(android.graphics.drawable.Drawable);
    method public void setIndeterminateTint(android.content.res.ColorStateList);
    method public void setIndeterminateTintList(android.content.res.ColorStateList);
    method public void setIndeterminateTintMode(android.graphics.PorterDuff.Mode);
    method public void setInterpolator(android.content.Context, int);
    method public void setInterpolator(android.view.animation.Interpolator);
    method public synchronized void setMax(int);
    method public synchronized void setProgress(int);
    method public void setProgressBackgroundTint(android.content.res.ColorStateList);
    method public void setProgressBackgroundTintList(android.content.res.ColorStateList);
    method public void setProgressBackgroundTintMode(android.graphics.PorterDuff.Mode);
    method public void setProgressDrawable(android.graphics.drawable.Drawable);
    method public void setProgressDrawableTiled(android.graphics.drawable.Drawable);
    method public void setProgressTint(android.content.res.ColorStateList);
    method public void setProgressTintList(android.content.res.ColorStateList);
    method public void setProgressTintMode(android.graphics.PorterDuff.Mode);
    method public synchronized void setSecondaryProgress(int);
    method public void setSecondaryProgressTint(android.content.res.ColorStateList);
    method public void setSecondaryProgressTintList(android.content.res.ColorStateList);
    method public void setSecondaryProgressTintMode(android.graphics.PorterDuff.Mode);
  }
+14 −13
Original line number Diff line number Diff line
@@ -3176,7 +3176,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    @ViewDebug.ExportedProperty(deepExport = true, prefix = "bg_")
    private Drawable mBackground;
    private ColorStateList mBackgroundTint = null;
    private ColorStateList mBackgroundTintList = null;
    private PorterDuff.Mode mBackgroundTintMode = PorterDuff.Mode.SRC_ATOP;
    private boolean mHasBackgroundTint = false;
@@ -4016,7 +4016,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                    break;
                case R.styleable.View_backgroundTint:
                    // This will get applied later during setBackground().
                    mBackgroundTint = a.getColorStateList(R.styleable.View_backgroundTint);
                    mBackgroundTintList = a.getColorStateList(R.styleable.View_backgroundTint);
                    mHasBackgroundTint = true;
                    break;
                case R.styleable.View_backgroundTintMode:
@@ -15912,16 +15912,16 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * <p>
     * Subsequent calls to {@link #setBackground(Drawable)} will automatically
     * mutate the drawable and apply the specified tint and tint mode using
     * {@link Drawable#setTint(ColorStateList, PorterDuff.Mode)}.
     * {@link Drawable#setTintList(ColorStateList)}.
     *
     * @param tint the tint to apply, may be {@code null} to clear tint
     *
     * @attr ref android.R.styleable#View_backgroundTint
     * @see #getBackgroundTint()
     * @see Drawable#setTint(ColorStateList, PorterDuff.Mode)
     * @see #getBackgroundTintList()
     * @see Drawable#setTintList(ColorStateList)
     */
    public void setBackgroundTint(@Nullable ColorStateList tint) {
        mBackgroundTint = tint;
    public void setBackgroundTintList(@Nullable ColorStateList tint) {
        mBackgroundTintList = tint;
        mHasBackgroundTint = true;
        applyBackgroundTint();
@@ -15930,23 +15930,23 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    /**
     * @return the tint applied to the background drawable
     * @attr ref android.R.styleable#View_backgroundTint
     * @see #setBackgroundTint(ColorStateList)
     * @see #setBackgroundTintList(ColorStateList)
     */
    @Nullable
    public ColorStateList getBackgroundTint() {
        return mBackgroundTint;
    public ColorStateList getBackgroundTintList() {
        return mBackgroundTintList;
    }
    /**
     * Specifies the blending mode used to apply the tint specified by
     * {@link #setBackgroundTint(ColorStateList)}} to the background drawable.
     * {@link #setBackgroundTintList(ColorStateList)}} to the background drawable.
     * The default mode is {@link PorterDuff.Mode#SRC_ATOP}.
     *
     * @param tintMode the blending mode used to apply the tint, may be
     *                 {@code null} to clear tint
     * @attr ref android.R.styleable#View_backgroundTintMode
     * @see #getBackgroundTintMode()
     * @see Drawable#setTint(ColorStateList, PorterDuff.Mode)
     * @see Drawable#setTintMode(PorterDuff.Mode)
     */
    public void setBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) {
        mBackgroundTintMode = tintMode;
@@ -15967,7 +15967,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    private void applyBackgroundTint() {
        if (mBackground != null && mHasBackgroundTint) {
            mBackground = mBackground.mutate();
            mBackground.setTint(mBackgroundTint, mBackgroundTintMode);
            mBackground.setTintList(mBackgroundTintList);
            mBackground.setTintMode(mBackgroundTintMode);
        }
    }
+14 −13
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ public abstract class AbsSeekBar extends ProgressBar {
    private final Rect mTempRect = new Rect();

    private Drawable mThumb;
    private ColorStateList mThumbTint = null;
    private ColorStateList mThumbTintList = null;
    private PorterDuff.Mode mThumbTintMode = PorterDuff.Mode.SRC_ATOP;
    private boolean mHasThumbTint = false;

@@ -100,7 +100,7 @@ public abstract class AbsSeekBar extends ProgressBar {
                R.styleable.SeekBar_thumbTintMode, -1), mThumbTintMode);

        if (a.hasValue(R.styleable.SeekBar_thumbTint)) {
            mThumbTint = a.getColorStateList(R.styleable.SeekBar_thumbTint);
            mThumbTintList = a.getColorStateList(R.styleable.SeekBar_thumbTint);
            mHasThumbTint = true;

            applyThumbTint();
@@ -193,16 +193,16 @@ public abstract class AbsSeekBar extends ProgressBar {
     * <p>
     * Subsequent calls to {@link #setThumb(Drawable)} will automatically
     * mutate the drawable and apply the specified tint and tint mode using
     * {@link Drawable#setTint(ColorStateList, PorterDuff.Mode)}.
     * {@link Drawable#setTintList(ColorStateList)}.
     *
     * @param tint the tint to apply, may be {@code null} to clear tint
     *
     * @attr ref android.R.styleable#SeekBar_thumbTint
     * @see #getThumbTint()
     * @see Drawable#setTint(ColorStateList, PorterDuff.Mode)
     * @see #getThumbTintList()
     * @see Drawable#setTintList(ColorStateList)
     */
    public void setThumbTint(@Nullable ColorStateList tint) {
        mThumbTint = tint;
    public void setThumbTintList(@Nullable ColorStateList tint) {
        mThumbTintList = tint;
        mHasThumbTint = true;

        applyThumbTint();
@@ -211,16 +211,16 @@ public abstract class AbsSeekBar extends ProgressBar {
    /**
     * @return the tint applied to the thumb drawable
     * @attr ref android.R.styleable#SeekBar_thumbTint
     * @see #setThumbTint(ColorStateList)
     * @see #setThumbTintList(ColorStateList)
     */
    @Nullable
    public ColorStateList getThumbTint() {
        return mThumbTint;
    public ColorStateList getThumbTintList() {
        return mThumbTintList;
    }

    /**
     * Specifies the blending mode used to apply the tint specified by
     * {@link #setThumbTint(ColorStateList)}} to the thumb drawable. The
     * {@link #setThumbTintList(ColorStateList)}} to the thumb drawable. The
     * default mode is {@link PorterDuff.Mode#SRC_ATOP}.
     *
     * @param tintMode the blending mode used to apply the tint, may be
@@ -228,7 +228,7 @@ public abstract class AbsSeekBar extends ProgressBar {
     *
     * @attr ref android.R.styleable#SeekBar_thumbTintMode
     * @see #getThumbTintMode()
     * @see Drawable#setTint(ColorStateList, PorterDuff.Mode)
     * @see Drawable#setTintMode(PorterDuff.Mode)
     */
    public void setThumbTintMode(@Nullable PorterDuff.Mode tintMode) {
        mThumbTintMode = tintMode;
@@ -249,7 +249,8 @@ public abstract class AbsSeekBar extends ProgressBar {
    private void applyThumbTint() {
        if (mThumb != null && mHasThumbTint) {
            mThumb = mThumb.mutate();
            mThumb.setTint(mThumbTint, mThumbTintMode);
            mThumb.setTintList(mThumbTintList);
            mThumb.setTintMode(mThumbTintMode);
        }
    }

+15 −14
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ public class CheckedTextView extends TextView implements Checkable {

    private int mCheckMarkResource;
    private Drawable mCheckMarkDrawable;
    private ColorStateList mCheckMarkTint = null;
    private ColorStateList mCheckMarkTintList = null;
    private PorterDuff.Mode mCheckMarkTintMode = PorterDuff.Mode.SRC_ATOP;
    private boolean mHasCheckMarkTint = false;

@@ -86,7 +86,7 @@ public class CheckedTextView extends TextView implements Checkable {
                R.styleable.CompoundButton_buttonTintMode, -1), mCheckMarkTintMode);

        if (a.hasValue(R.styleable.CompoundButton_buttonTint)) {
            mCheckMarkTint = a.getColorStateList(R.styleable.CompoundButton_buttonTint);
            mCheckMarkTintList = a.getColorStateList(R.styleable.CompoundButton_buttonTint);
            mHasCheckMarkTint = true;

            applyCheckMarkTint();
@@ -189,16 +189,16 @@ public class CheckedTextView extends TextView implements Checkable {
     * Subsequent calls to {@link #setCheckMarkDrawable(Drawable)} will
     * automatically mutate the drawable and apply the specified tint and
     * tint mode using
     * {@link Drawable#setTint(ColorStateList, PorterDuff.Mode)}.
     * {@link Drawable#setTintList(ColorStateList)}.
     *
     * @param tint the tint to apply, may be {@code null} to clear tint
     *
     * @attr ref android.R.styleable#CheckedTextView_checkMarkTint
     * @see #getCheckMarkTint()
     * @see Drawable#setTint(ColorStateList, PorterDuff.Mode)
     * @see #getCheckMarkTintList()
     * @see Drawable#setTintList(ColorStateList)
     */
    public void setCheckMarkTint(@Nullable ColorStateList tint) {
        mCheckMarkTint = tint;
    public void setCheckMarkTintList(@Nullable ColorStateList tint) {
        mCheckMarkTintList = tint;
        mHasCheckMarkTint = true;

        applyCheckMarkTint();
@@ -207,23 +207,23 @@ public class CheckedTextView extends TextView implements Checkable {
    /**
     * @return the tint applied to the check mark drawable
     * @attr ref android.R.styleable#CheckedTextView_checkMarkTint
     * @see #setCheckMarkTint(ColorStateList)
     * @see #setCheckMarkTintList(ColorStateList)
     */
    @Nullable
    public ColorStateList getCheckMarkTint() {
        return mCheckMarkTint;
    public ColorStateList getCheckMarkTintList() {
        return mCheckMarkTintList;
    }

    /**
     * Specifies the blending mode used to apply the tint specified by
     * {@link #setCheckMarkTint(ColorStateList)} to the check mark
     * {@link #setCheckMarkTintList(ColorStateList)} to the check mark
     * drawable. The default mode is {@link PorterDuff.Mode#SRC_ATOP}.
     *
     * @param tintMode the blending mode used to apply the tint, may be
     *                 {@code null} to clear tint
     * @attr ref android.R.styleable#CheckedTextView_checkMarkTintMode
     * @see #setCheckMarkTint(ColorStateList)
     * @see Drawable#setTint(ColorStateList, PorterDuff.Mode)
     * @see #setCheckMarkTintList(ColorStateList)
     * @see Drawable#setTintMode(PorterDuff.Mode)
     */
    public void setCheckMarkTintMode(@Nullable PorterDuff.Mode tintMode) {
        mCheckMarkTintMode = tintMode;
@@ -244,7 +244,8 @@ public class CheckedTextView extends TextView implements Checkable {
    private void applyCheckMarkTint() {
        if (mCheckMarkDrawable != null && mHasCheckMarkTint) {
            mCheckMarkDrawable = mCheckMarkDrawable.mutate();
            mCheckMarkDrawable.setTint(mCheckMarkTint, mCheckMarkTintMode);
            mCheckMarkDrawable.setTintList(mCheckMarkTintList);
            mCheckMarkDrawable.setTintMode(mCheckMarkTintMode);
        }
    }

+14 −13
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ public abstract class CompoundButton extends Button implements Checkable {
    private boolean mBroadcasting;

    private Drawable mButtonDrawable;
    private ColorStateList mButtonTint = null;
    private ColorStateList mButtonTintList = null;
    private PorterDuff.Mode mButtonTintMode = PorterDuff.Mode.SRC_ATOP;
    private boolean mHasButtonTint = false;

@@ -91,7 +91,7 @@ public abstract class CompoundButton extends Button implements Checkable {
                R.styleable.CompoundButton_buttonTintMode, -1), mButtonTintMode);

        if (a.hasValue(R.styleable.CompoundButton_buttonTint)) {
            mButtonTint = a.getColorStateList(R.styleable.CompoundButton_buttonTint);
            mButtonTintList = a.getColorStateList(R.styleable.CompoundButton_buttonTint);
            mHasButtonTint = true;

            applyButtonTint();
@@ -245,16 +245,16 @@ public abstract class CompoundButton extends Button implements Checkable {
     * Subsequent calls to {@link #setButtonDrawable(Drawable)} will
     * automatically mutate the drawable and apply the specified tint and tint
     * mode using
     * {@link Drawable#setTint(ColorStateList, PorterDuff.Mode)}.
     * {@link Drawable#setTintList(ColorStateList)}.
     *
     * @param tint the tint to apply, may be {@code null} to clear tint
     *
     * @attr ref android.R.styleable#CompoundButton_buttonTint
     * @see #setButtonTint(ColorStateList)
     * @see Drawable#setTint(ColorStateList, PorterDuff.Mode)
     * @see #setButtonTintList(ColorStateList)
     * @see Drawable#setTintList(ColorStateList)
     */
    public void setButtonTint(@Nullable ColorStateList tint) {
        mButtonTint = tint;
    public void setButtonTintList(@Nullable ColorStateList tint) {
        mButtonTintList = tint;
        mHasButtonTint = true;

        applyButtonTint();
@@ -263,23 +263,23 @@ public abstract class CompoundButton extends Button implements Checkable {
    /**
     * @return the tint applied to the button drawable
     * @attr ref android.R.styleable#CompoundButton_buttonTint
     * @see #setButtonTint(ColorStateList)
     * @see #setButtonTintList(ColorStateList)
     */
    @Nullable
    public ColorStateList getButtonTint() {
        return mButtonTint;
    public ColorStateList getButtonTintList() {
        return mButtonTintList;
    }

    /**
     * Specifies the blending mode used to apply the tint specified by
     * {@link #setButtonTint(ColorStateList)}} to the button drawable. The
     * {@link #setButtonTintList(ColorStateList)}} to the button drawable. The
     * default mode is {@link PorterDuff.Mode#SRC_ATOP}.
     *
     * @param tintMode the blending mode used to apply the tint, may be
     *                 {@code null} to clear tint
     * @attr ref android.R.styleable#CompoundButton_buttonTintMode
     * @see #getButtonTintMode()
     * @see Drawable#setTint(ColorStateList, PorterDuff.Mode)
     * @see Drawable#setTintMode(PorterDuff.Mode)
     */
    public void setButtonTintMode(@Nullable PorterDuff.Mode tintMode) {
        mButtonTintMode = tintMode;
@@ -300,7 +300,8 @@ public abstract class CompoundButton extends Button implements Checkable {
    private void applyButtonTint() {
        if (mButtonDrawable != null && mHasButtonTint) {
            mButtonDrawable = mButtonDrawable.mutate();
            mButtonDrawable.setTint(mButtonTint, mButtonTintMode);
            mButtonDrawable.setTintList(mButtonTintList);
            mButtonDrawable.setTintMode(mButtonTintMode);
        }
    }

Loading