0

I am developing a compass application in which I want to make a compass with a good user interface, specifically where compass needle show as good bitmap. I have implemented functionality very well and it is working fine but there is a problem with the needle. I Want to set a bitmap as a line and rotate it independently. There is an n parameter for bitmap object to change stopX and StopY parameter as given in a Line object.

Can you suggest a solution or alternative?

Nathaniel Ford
  • 20,545
  • 20
  • 91
  • 102
user123
  • 128
  • 1
  • 9

1 Answers1

1

As far as I understand, you would like to rotate the Bitmap according to the compass direction? If this is the case, you should have a look at my Thread which helped me solve this problem: Android rotate bitmap around center without resizing

I hope this helps.

Community
  • 1
  • 1
Luke Taylor
  • 9,481
  • 13
  • 41
  • 73