On Aug 18, 6:27 am, Barry Wei <[email protected]> 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 setContentView(R.layout.whatever). There's a very simple example in Hello World: http://developer.android.com/intl/fr/guide/tutorials/hello-world.html#upgrading Menus are another topic, but again there's a good guide in the docs: http://developer.android.com/intl/fr/guide/topics/ui/menus.html#xml Good luck, String --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

