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
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
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.
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
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
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
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
7 matches
Mail list logo