I've created a RelativeLayout that contain 4 buttons positioned like a circle. I've given rotate animation to the layout, also OnClickListeners on these buttons. But when i run the code the OnClickListener works only from the button's initial position. That is, suppose the layout rotate 90 degrees, the button comes to a new position. But clicking on that position doesnt do any thing instead I need to click at the position where it was initially, to activate ONClickListener for that button. Is there any way to set OnClickListener for the same position as it is displayed?
explained in this pic :