Click here to Skip to main content
15,878,871 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have two objects. Both of them are 5 point stars. One star will be static. Other star should move around the static star. The problem is its moving area is limited. That is, it should move in the space between the edges of the static star and 10px away from a static star. within this space it could be moved by the user in any direction by touch event. Please advice how to do this. I am new to Android.
Posted
Comments
Krunal Rohit 3-Mar-14 9:01am    
Can you please explain it more ?

-KR
mayooran99 3-Mar-14 10:03am    
Its like imagine that there is a circle. within that there is another circle. Between the edges of the two circles, how would you move an object?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900