I made a custom background for a button and also for different button states. But now I made to a point that I cannot understand.
When button is in normal state the
this might just work:
setPadding(left, top, right, bottom); // Normal setPadding(left, top + x, right, bottom - x); // Pressed