Jayyyyy
Jayyyyy

Reputation: 753

How to rotate menu 180 degrees android

Okay so I am developing an app that will have to players playing against each other. The two players will be opposite each other so I want to be able to the rotate the activity 180 degrees when it is one of the players moves. So far I have been able to do it by overriding any views onDraw() method and applying the rotation there. So I want to have a menu that is possible to rotate by 180 degrees depending on the which players move it is. So how would I rotate the menu by 180 degrees.

Upvotes: 3

Views: 693

Answers (2)

CommonsWare
CommonsWare

Reputation: 1006869

So how would I rotate the menu by 180 degrees.

You wouldn't. You would not use the built-in options menu, but rather create your own menu with your own views that you draw as desired.

Upvotes: 1

Audrius
Audrius

Reputation: 64

You could use TranslateAnimation.

Upvotes: 1

Related Questions