So, imagine that your layouts have a few buttons. The project is almost finished, and there is a lot of dynamic material (software settings for images, listeners, declared lines, etc. Etc.).
Now you are told that the buttons are pretty hard to click so that your first thought (at least mine) is “okay, I'll just make the bounding box larger.” To do this, I just need to give these buttons more width and height to make them easier to click.
My problem arises when I see that these buttons use the background to store the image, and therefore, when I make them bigger, so the image is inside.
My question is: I got stuck in creating a layout on top of it, assigned the listener this new, larger layout, and then left the button as an image, or is there an easier way?
/¯¯¯¯¯¯¯¯¯¯¯¯\ <- outter layout
/¯¯¯¯¯¯¯¯\ | /¯¯¯¯¯¯¯¯\ |
| | | | | |
| BUTTON | ---> | | BUTTON | |
| | | | | |
\________/ | \________/ |
\____________/
thank
source
share