Spektor Yaron wrote: > Thanks again, > so i went ahead and implemented that and then found out that this: > public XmlResourceParser getXml(int id) throws NotFoundException { > return loadXmlResourceParser(id, "xml"); > } > > does not find the resource id if the layout is in layout-land (it does > find it if it is in layout though) > any way to work around this?
If you want to use a layout file, call setContentView() on your activity, or call getLayoutInflater().inflate(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---