Android: Dynamically change location of Options Menu?

My solution is as follows: Allow normal orientation changes in the Android Manifest for the Activity. In the custom 'canvas' view constructor, fire up a tracking field, mDisplay, that gets the display information via: Code: mDisplay = ((WindowManager) mContext. GetSystemService(Context.

WINDOW_SERVICE)). GetDefaultDisplay(); In onDraw(), check to see if the display rotation is something other than 0, and rotate the canvas back to the 0 rotation value: Code: if (mDisplay.getRotation() > 0) { canvas. Save(Canvas.

HAS_ALPHA_LAYER_SAVE_FLAG); canvas. Rotate(-mDisplay.getRotation(), px, py); ... do stuff ... canvas.restore(); } Not sure that it's the best solution, but it seems to work.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions