- Forum posts: 15
May 16, 2016, 10:22:07 PM via Website
May 16, 2016 10:22:07 PM via Website
I'm trying to create a custom view.
I create a class file View subclass.
And I add it to the XML file for the interface.
It says the class file can't be found.
And when I compile it says "view cannot be instantiated" and crashes.
Do I have to add some sort of import com.me.app.MyView in the XML interface file?
Where do I add the include statement?
Some kind of include in the MainActivity java file?