You should be able to override onDraw, and draw the bitmap using something like:
canvas.drawBitmap(bitmap, matrix, paint) I haven't used drawBitmap with a matrix before, but you can check out some more info here: http://www.anddev.org/resize_and_rotate_image_-_example-t621.html You should be able to use a GestureDetector to control when it spins, etc. It might be easier to do this in OpenGL, but I think it's definitely possible with just Canvas if you're not familiar with OpenGL. Hope that helps. On Jul 5, 11:49 pm, ocdtrekkie <[email protected]> wrote: > Ah crud, now I feel fairly stupid. ;) People responded and I didn't > see it and posted a seperate request. I'm gonna upload the design > document for it, I've got the UI "designed", I just can't figure out > how to program it so it will behave right. I've read a lot of > examples/tutorials/help things regarding image rotation, but I haven't > seen anything that's the same sort of thing, even though I would > imagine it's a fairly simple idea. > > http://imgs.ocdtrekkie.com/MobileDHDConcept2.jpg > > This is only a portion of the UI, but it's the one I need help with. > Basically I have a fancy circular image (it's a ring), and I want to > situate it about there on the screen, and then let people rotate it > with their finger. (Only a certain portion of the ring will be > visible on screen at a time, as you can see). Looking at the > different Layout formats though, I'm wondering if I have to go to > OpenGL for something like this, or if it can be done without it. > > (Oh, TreKing, I just looked at your site... and I will use your app > next time I go into the city for sure, I live in the Chicago suburbs, > and public transit here baffles me. ;) ) > > On Jun 24, 10:38 am, TreKing <[email protected]> wrote: > > > On Fri, Jun 18, 2010 at 12:01 AM, ocdtrekkie <[email protected]> wrote: > > > Can anyone help get me started? I can program all the logic I need for my > > > program really well, I just need some help with designing the UI to > > > function > > > the way I want it to. > > > What exactly do you expect us to do for you? > > How are we supposed to help you design a UI for your app? > > > ------------------------------------------------------------------------------------------------- > > TreKing - Chicago transit tracking app for Android-powered > > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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

