开发者

Android: Implement azimuth orientation sliding view

I am trying to create a ruler view based on azimuth compass orientation value. The idea is to place a small view at the bottom of a camera view which slides to the left or to the right according to the azimuth value obtained from the "orientation" sensor.

Something like this:

开发者_高级运维

Android: Implement azimuth orientation sliding view

My main conceptual problem is to understand how I can wrap up the bar if I keep rotating the phone in the same direction. I am looking for ideas on how to solve this problem! Can this problem be solved with Bitmaps?

Which classes/tools are suitable for this? Are there any examples on how to do this?

Thank you!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜