I wanna create a own view(group). Within that view group, Im trying to get a Button to move. Now I've extended ViewGroup and implemented onLayout. Furthermore I have a thread that calls invalidate to redraw everything. The thread also increases a x-coordinate which is used in onLayout to position the button. But the animation is not smooth at all, it feels very slow. What can I do?
What I ultimatly want is a ViewGroup where I can add a couple of views and then place them in a circle. I should then be able to rotate this circle around.