Hi,
How do we construct an instance of a View derived class from an XML
resource? I have something like:
public class MyView extends View
{
public MyView(Context context)
{
super(context);
}
}
How can we construct the class from an XML resource file? I want to
add some buttons etc, then use them in the view class.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---