I'm developing an application that structurally is quite simple - it's basically just an activity with a view that has to redraw the whole screen occasionally. I've the the setDrawingCacheEnabled() flag in the view so that it remains on screen and it seems to work fine - I only do an invalidate when the whole screen needs to be redrawn (as the screen draw code is rather heavy).
However, I would like a kind of 'compass' line overlaid onto this view (in the centre of the screen, in about an 80x80 pixel area) that's updated more often (every time the device sensors change). I suspect it needs to be a separate view on top as to redraw the whole view every time the sensors change really slows things down.
So, how can I have an constantly updated view on top of a view that is only updated as and when?
If anyone can help, it would be much appreciated as I'm getting nowhere trying different things!