2

I need to get the pressed state drawable of the StateListDrawable of a button.

I get the StateListDrawable like this:

StateListDrawable drawable = button.getBackground();

But I can't find anything useful in the internet on the next step I would take.

John Ernest Guadalupe
  • 6,379
  • 11
  • 38
  • 71
  • 2
    Possible duplicate of [Get specific drawable from state list drawable](http://stackoverflow.com/questions/26713618/get-specific-drawable-from-state-list-drawable) – Hugh Jeffner May 10 '17 at 17:46

0 Answers0