https://bugzilla.novell.com/show_bug.cgi?id=644784

https://bugzilla.novell.com/show_bug.cgi?id=644784#c1


Jonathan Pobst <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Blocker|Yes                         |---
                 CC|                            |[email protected]
         AssignedTo|[email protected]  |[email protected]
            Summary|If you create a custom      |Custom components must use
                   |component, you can't use it |Java names in resource
                   |from xml                    |layout files
           Severity|Critical                    |Normal

--- Comment #1 from Jonathan Pobst <[email protected]> 2010-10-11 21:58:22 UTC 
---
The issue is that Android xml resource files expect Java names instead of .Net
names, so:

namespace Test_CustomComponent
{
    public class CustomComponent {}
}

should be:

<test_CustomComponent.CustomComponent android:layout_width="fill_parent"
android:layout_height="wrap_content"/>

instead of:

<Test_CustomComponent.CustomComponent android:layout_width="fill_parent"
android:layout_height="wrap_content"/>


jonp: Can you think of any way to make this more intuitive?  People are going
to hit this one a lot.

-- 
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

Reply via email to