[android-developers] Landscape/Portrait and more... an advanced question
Hi all,
I am writing an SDK that shows a EULA dialog in portrait mode upon starting the user application.
My EULA is an activity with the following manifest
<activity
android:name=".EulaActivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Translucent "
android:configChanges="keyboard|keyboardHidden|orientation" />
Suppose that the top activity is in landscape mode, and wants to display my EULA activity.
My EULA is indeed in portrait mode, but it changes the mode of the activity below (restarting it, or calling onConfigurationChange, depends on the manifest).
On the other hand if my EULA doesn't have Translucent style, everything is OK.
Is it possible to show a Translucent activity is in portrait while the activity below is in landscape ?
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home