Thanks Treking for quick response (BTW you should get paid for this,
you are always here hehe :)

 I think you are trying to tell me that i can create a /layout-port/
xx.xml and a /layout-land/xx.xml? I know that, but the problem is with
coding it. If the /layout-port/xx.xml has a ListView, but /layout-land/
xx.xml hasn't one, i think i need to know what the orientation is to
manage the correct views for not doing a findViewById(R.id.listview1)
in the layout-land. I'm sorry if i can't make myself understood with
this poor english :)

 I see 2 solutions: 1) in the same activity asking what the device
orientation is and doing different tasks depending on that
                           2) when a screen orientation change
happens, calling another activity specifical for managing the
landscape layout

Well, hope that made things clearer (although i won't bet on it)


On 25 mayo, 19:15, TreKing <[email protected]> wrote:
> On Wed, May 25, 2011 at 12:03 PM, Pikoh <[email protected]> wrote:
> >  Anyone can point me to the best way to do this? Thx
>
> http://developer.android.com/guide/topics/resources/providing-resourc...
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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