On Dec 20, 2011, at 7:30 AM, John Murray wrote:
> I have subclassed edit text to add a bit of proprietary behaviour  called 
> “EditTextEx”
> I am having trouble figuring how to use it
> In the XML  I get an error (though it compiles ok) which says my subclass is 
> ‘Invalid child element ‘
>  
> I realise I have to include the subclass with a reference to where the class 
> is declared thus
>   <com.murray.MonoAndroidSQLite1.EditTextEx

You need to use the fully-qualified name of the _Java_ Android Callable Wrapper 
(ACW), which is (probably) com.murray.monoandroidsqlite1.EditTextEx. 
(Namespaces are lowercased.)

If EditTextEx is a nested type, then it'll be MonoAndroidSqlite1_EditTextEx.

Take a look at the obj\Debug\android\src directory to view the generated ACWs.

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to