Looks like the text is sharing the canvas that's being rotated... On Apr 5, 9:56 am, RedBullet <scottedchap...@gmail.com> wrote: > And for completeness for the rotation I do the following: > > public void onSensorChanged(SensorEvent event) { > RideRouterApp.i(String.format("Sensor Name: %s, oriented %f", > event.sensor.getName(), event.values[0])); > synchronized (this) { > mHeading = event.values[0]; > invalidate(); > > } > } > > @Override > protected void dispatchDraw(Canvas canvas) { > canvas.save(Canvas.MATRIX_SAVE_FLAG); > canvas.rotate(-mHeading, getWidth() * 0.5f, getHeight() * 0.5f); > mCanvas.delegate = canvas; > super.dispatchDraw(mCanvas); > canvas.restore(); > mapView.invalidate(); > } >
-- 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