I'm having a bit of a problem with a custom button style. I have the button states (9-patch drawables) set up in a <selector> drawable. The style I'm going for is a button that looks like it gets pushed down, i.e., you can see the front edge of the button until you press it. It works fine for the button itself, but the contents of the Button or ImageButton don't move when pressed, even though I have the 9-patch areas set up to move the content area for the depressed button states. It seems like it's keeping the same 9-patch areas no matter which image it's showing.
Here's an animated GIF to help make the problem a little clearer:
Thanks in advance!