I'm trying to use a DrawableButton for my interface. In doing that,  I need to set the images. Trouble is the function requieres drawables. In the documentation, it says about the constructor that :

The base class can't be instantiated directly.

How should I instantiate my Drawable?


Drawable is a base class.  You want to use DrawableImage.



Got it, thanks!


You can also use the static methods Drawable::createFromImageFile, createFromImageData, etc