Implementing your own drawables