app/src/main/java/org/weibeld/nytexplore/activity/MainActivity.java
public void tintFilterIcon(boolean addTint) {
        Drawable drawable = mFilterMenuItem.getIcon();
        if (drawable != null) {
            drawable.mutate();
            if (addTint)
                drawable.setColorFilter(getResources().getColor(R.color.colorAccent), PorterDuff.Mode.SRC_ATOP);
            else
                drawable.setColorFilter(null);
        }
    }
// Change color of filter menu icon to accent color (addTint=true) or white (addTint=false)
Change color of filter menu icon to accent color (addTint=true) or white (addTint=false)
Change color of filter menu icon to accent color ( addTint = true ) or white ( addTint = false )
public void tintFilterIcon(boolean addTint) {
        Drawable drawable = mFilterMenuItem.getIcon();
        if (drawable != null) {
            drawable.mutate();
            if (addTint)
                drawable.setColorFilter(getResources().getColor(R.color.colorAccent), PorterDuff.Mode.SRC_ATOP);
            else
                drawable.setColorFilter(null);
        }
    }
public void tintFilterIcon ( boolean addTint ) { Drawable drawable = mFilterMenuItem . getIcon ( ) ; if ( drawable != null ) { drawable . mutate ( ) ; if ( addTint ) drawable . setColorFilter ( getResources ( ) . getColor ( R . color . colorAccent ) , PorterDuff . Mode . SRC_ATOP ) ; else drawable . setColorFilter ( null ) ; } }
Change color of filter menu icon to accent color (addTint=true) or white (addTint=false)
Change color of filter menu icon to accent color ( addTint = true ) or white ( addTint = false )