I mean different behavior. In portrait mode I have one list and a bunch of list oriented actions (add item, delete item) In landscape mode I have two lists (one on left side, another on right), so actions involve two lists (copy, move)
On Mar 11, 10:25 am, Makas Tzavellas <[email protected]> wrote: > Are you just referring to just different layout or even different > behavior? > > Because if it's just different layout, you can always use the > different layout folders to manage the layouts. E.g. "layout-land" in > for landscape layout and the default "layout" folder for portrait. > > More info > athttp://developer.android.com/guide/topics/resources/resources-i18n.ht.... > > On Mar 11, 11:02 pm, ailinykh <[email protected]> wrote: > > > > > Hello, everybody! > > I have two activities, one per orientation - PortraitActivity and > > LandscapeActivity. They are pretty much different, I can't use one > > Activity with different layouts. > > If user changed orientation I have to shutdown one of them and start > > another. > > What is the best way to manage them? Does it make sense to create > > GroupActivity? Or each Activity should check if the current > > orientation is what it needs? If so, is it save to start new Activity > > in onCreate method of previous one (which is not actually created > > yet)? > > > Thank you, > > Andrey -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

