[android-developers] Re: Landscape orientation of Intent

2010-02-20 Thread Tatyana Ulyanova
Hello, Lipinski! I'm very glad that my advise helps you :) As for your question about Menu orientation: actually Menu construction doesn't provide orientation, so I think it would use orientation of activity that it belongs to. It's my opinion on this question. But I didn't dig it this

[android-developers] Re: Landscape orientation of Intent

2010-02-20 Thread Tatyana Ulyanova
Hello, Lipinski! I'm very glad that my advise helps you :) As for your question about Menu orientation: actually Menu construction doesn't provide orientation, so I think it would use orientation of activity that it belongs to. It's my opinion on this question. But I didn't dig it this

[android-developers] Re: Landscape orientation of Intent

2010-02-19 Thread Tatyana Ulyanova
Thank You very much for reply, Mark :) You're absolutely right that it's not a good idea to dictate to other application their orientation. But is there any way to change landscape orientation in global way - for all aplications? It would seem like user turn their phone, but programmatically.

[android-developers] Re: Landscape orientation of Intent

2010-02-19 Thread lipinski
While we're on the topic, can you have different orientation handling for different activities within the same application? It currently does not work for me. I have one Activity that I want to force to Lanscape, so I set screenOrientation and configChanges in that Activity. (Just so happens to

Re: [android-developers] Re: Landscape orientation of Intent

2010-02-19 Thread Mark Murphy
lipinski wrote: While we're on the topic, can you have different orientation handling for different activities within the same application? It currently does not work for me. I have one Activity that I want to force to Lanscape, so I set screenOrientation and configChanges in that

[android-developers] Re: Landscape orientation of Intent

2010-02-19 Thread Tatyana Ulyanova
Thank You very much, Mark :) To lipinski: Try to specify in your second (non-main activity) orientation to sensor: android:screenOrientation=sensor. Hope it helps. Read more here: http://www.djvoo.net/d/Android (chapter 35 about activity orientation) -- You received this message because you

[android-developers] Re: Landscape orientation of Intent

2010-02-19 Thread lipinski
Tatyana - Thanks, that seems to have worked. I didn't think sensor would be necessary as I thought that was the default, but the Activity seemed to inherit the attribute of the root Activity. Here's one more challenge - Don't know if it's possible: Can I have an Activity with