I want to make some buttons like the attached drawing. The buttons are attached to 5 ImageView. How can I simulate the press of a button? I need to move the ImageView and then restore it back? Looking for the easiest way to do this.
have you considered overlaying a transparent panel over each of the images? you could then catch the panel's click event, and even change te image underneath to simulate a button press. but since we code in a world of perfect rectangles, and your image rectangles overlap each other, be sure to do the center panel last, or use a .bringtofront method on it after the panels are all drawn.
I would do it with a single panel with the image on it.
In the Panel_Touch event you know the cursor coordinates and you can easily check in what area the cursor is and executue the correct function.