You'll need to detect the rotate of the screen, and then when it's rotated adjust your code so that the location of your circles is correct for the rotated view (i.e the canvas is wider than tall now).
The usual state of android apps is that they get killed and restarted when the screen rotates, so if you correctly detect the orientation in onCreate() you should be able to know which co-ordinates should be used. On Oct 24, 4:19 pm, BrianS <[email protected]> wrote: > Hi-- I'm trying to draw some large circles on the canvas which are > partly offscreen, then use animation to rotate them in be fully > visible. My circles successfully rotate in, but when they come into > view they're clipped at the place that was the screen edge when they > were originally drawn. Is there any way to prevent this? I guess my > larger question is how can you draw elements beyond the edges of the > screen and then animate them into view? > > Thanks much! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

