Why is it the worst? I tried to think how to implement each idea and I came across with these thoughts: 1) Idea #1: Imo, the movement/sliding effect will be less smooth, using canvas.drawText(). 2) Idea #2: Having a fixed-sized image has a limitation if the users continue rotating more than the image can handle. What happens if the image is already scrolled until the end side of 'W' or 'E' (from your example). 3) Idea #3: ... Thus, to solve the limitation in Idea #2, I am thinking to draw the panel on-the-fly based on the changed situation. Probably your concern is about the performance for re-drawing (?). Any better suggestion? 4) Idea #4: I am not sure what it is. Perhaps an extension of Idea #2?
Any comments? On Nov 2, 1:00 am, DanH <danhi...@ieee.org> wrote: > Actually, I figured #3 was the worst of the lot. > > > On Oct 31, 11:46 pm, DanH <danhi...@ieee.org> wrote: > > > > 1) Paint the letters and hash marks under program control > > > 2) Have an image that goes, say W..N..E..S..W..N..E and slide it back > > > and forth as needed > > > 3) Have images W, N, E, S, and several ".." images of different > > > lengths, and "tile" together the desired image. > > > 4) Have about 32 complete separate images and select one > > > Thank you for the ideas. I might consider the idea #3 to re-draw the > > compass bar every time the heading changes. I found also the article > > from Adrian can be very helpful for the implementation. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en