[android-developers] Re: how to set layout .xml file to a new Activity ?

2009-08-18 Thread String
On Aug 18, 6:27 am, Barry Wei barat...@gmail.com wrote: i created a new Activity. and created a new layout file under res/ layout . but how could i bind all these layout file with this Activity ? I've always just done it in my activity's onCreate handler with a call to

[android-developers] Re: how to set layout .xml file to a new Activity ?

2009-08-18 Thread Barry Wei
yeah,thanks for that. i really did it via onCreate and onCreateOptionsMenu ,and they both work fine. On Aug 18, 4:07 pm, String sterling.ud...@googlemail.com wrote: On Aug 18, 6:27 am, Barry Wei barat...@gmail.com wrote: i created a new Activity. and created a new layout file under res/