Thanks,
by calling the layout-land "layout3" i loose the android built-in method to
switch to it when the orientation changes.
that is why i added a proposed solution for that - call the get
getResources().getConfiguration().orientation myself and figure out which
layout to switch to. are you saying it wouldn't work? if so, why? and what
would work?

On Sat, Oct 17, 2009 at 12:04 AM, Mark Murphy <[email protected]>wrote:

>
> Spektor Yaron wrote:
> > i have a layout folder with 2 layouts. layout1 and layout2
> > i have another folder layout-land that has layout1 in it.
> > i would like to be able to get to all the layouts so i could create a
> > set of layout like this:
> > {layout1, layout2, layout1(from layout-land folder)}
> > is there any way i can use the existing android mechanisim to do that?
>
> Copy layout/layout1 to layout/layout3. Then, all three are available
> under unique identifiers.
>
> > if not, what would be the impact of creating my own definition of the
> > layout folder (for example to have under the layout folder layout1,
> > layout2 and layout_land1 and have my code do getOrientation to
> > diffrentiate whcih one should be presented)
>
> It won't work.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android App Developer Books: http://commonsware.com/books.html
>
> >
>


-- 
Yaron Spektor

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to