By doing this, Activity will not destroy and recreate it. On Wed, Jun 13, 2012 at 2:48 PM, Mark Cz <ome...@gmail.com> wrote:
> 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en