Typically you would want to start another activity rather than just changing
the layout...  What exactly are you trying to accomplish?

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Mon, May 24, 2010 at 4:16 PM, [email protected] <
[email protected]> wrote:

>
>
> On May 24, 5:15 pm, TreKing <[email protected]> wrote:
> > On Mon, May 24, 2010 at 4:06 PM, [email protected] <
> >
> > [email protected]> wrote:
> > > Anyone know how to fix this?
> >
> > Since you are using setListAdapter, I assume you're using a ListActivity,
> > which has onListItemClick().
> >
> >
> ---------------------------------------------------------------------------
> ----------------------
> > TreKing - Chicago transit tracking app for Android-powered deviceshttp://
> sites.google.com/site/rezmobileapps/treking
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Beginners" group.
> >
> > NEW! Try asking and tagging your question on Stack Overflow athttp://
> stackoverflow.com/questions/tagged/android
> >
> > To unsubscribe from this group, send email to
> > [email protected]<android-beginners%[email protected]>
> > For more options, visit this group athttp://
> groups.google.com/group/android-beginners?hl=en
>
>
>
> Ahh yes ofcourse! Thanks, now my only problem now is when I have an
> item selected, I have setContentView(R.layout."name of item") it
> compiles right and the xml file exist, it just errors out once I click
> an item on a list.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to