https://bugzilla.novell.com/show_bug.cgi?id=644784
https://bugzilla.novell.com/show_bug.cgi?id=644784#c0 Summary: If you create a custom component, you can't use it from xml Classification: Mono Product: MonoDroid Version: unspecified Platform: 64bit OS/Version: Windows 7 Status: NEW Severity: Critical Priority: P5 - None Component: Runtime AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Customer Blocker: Yes Created an attachment (id=393665) --> (http://bugzilla.novell.com/attachment.cgi?id=393665) repro project Description of Problem: If you create a custom component and try to use it from xml, say: <Test_CustomComponent.CustomComponent android:layout_width="fill_parent" android:layout_height="wrap_content"/> the android OS will produce an error saying it can't inflate it: E/AndroidRuntime( 387): java.lang.RuntimeException: Unable to start activity ComponentInfo{Test_CustomComponent.Test_CustomComponent/test_CustomCompo nent.Activity1}: android.view.InflateException: Binary XML file line #3: Error inflating class Test_CustomComponent.CustomComponent Steps to reproduce the problem: 1. Create new project 2. Add a custom component that inflates its layout from an xml file 3. add a layout for it 4. drop that component into the main.xml layout 5. run. Actual Results: error Expected Results: the component should display How often does this happen? everytime Additional Information: repro project attached -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
