public void applyToBackground ( View view ) { if ( mColorInt != 0 ) { view . setBackgroundColor ( mColorInt ) ; } else if ( mColorRes != - 1 ) { view . setBackgroundResource ( mColorRes ) ; } }
set the textColor of the ColorHolder to a view