Code example for ColorStateList

Methods: getDefaultColor

0
    public int getBorder() { 
        return mBorderWidth;
    } 
 
    public int getBorderColor() { 
        return mBorderColor.getDefaultColor();
    } 
 
    public ColorStateList getBorderColors() {
        return mBorderColor;
    } 
 
    public void setCornerRadius(int radius) {
        if (mCornerRadius == radius) {
            return; 
        } 
 
        mCornerRadius = radius;
        if (mDrawable instanceof RoundedDrawable) {
            ((RoundedDrawable) mDrawable).setCornerRadius(radius);
Experience pair programming with AI  Get Codota for Java