Skip to content

Instantly share code, notes, and snippets.

@peacestorm
Last active January 15, 2016 11:57
Show Gist options
  • Save peacestorm/0b1ec1abe4e2cff1e0f9 to your computer and use it in GitHub Desktop.
Save peacestorm/0b1ec1abe4e2cff1e0f9 to your computer and use it in GitHub Desktop.
Button background color
yourButton.getBackground().setColorFilter(android.graphics.Color.parseColor("#000000"), android.graphics.PorterDuff.Mode.MULTIPLY);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment