Skip to content

Instantly share code, notes, and snippets.

Rafael Nobre nobre84

  • Brazil
Block or report user

Report or block nobre84

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test.css
/*
* Demo InterfaCSS stylesheet file.
*
* Read more about the stylesheet format here: https://github.com/tolo/InterfaCSS/wiki/Stylesheet-format
* Checkout this page for a reference on what properties can be set: https://github.com/tolo/InterfaCSS/wiki/Stylesheet-Property-Reference
*
* For a short selection of available properties that can be set, see bottom of file.
*/
@nobre84
nobre84 / ColorFilteredStateDrawable
Created Feb 13, 2015
StateListDrawable that applies a ColorFilter with the desired color / state configuration
View ColorFilteredStateDrawable
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.StateListDrawable;
import android.util.StateSet;
/**
* Created by Rafael Nobre on 12/02/15.
*/
public class ColorFilteredStateDrawable extends StateListDrawable {
You can’t perform that action at this time.