I have a LinearLayout defined in XML that is my parent, and another one which (sometimes) I want to include in the parent. I want to keep the optional sub-layout a separate file so it can be used elsewhere.
I have tried creating an empty layout within the parent one, but my efforts to findViewById() on it onCreate() give a null pointer. How do I do this? tone -- You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en

