@Override public void draw(Canvas canvas) {
        super.draw(canvas);
        if (getPaddingLeft() != 0 || getPaddingTop() != 0) {
            int saveCount = canvas.getSaveCount();
            canvas.save();
            canvas.translate(getPaddingLeft(), getPaddingTop());
            drawable.draw(canvas);
            canvas.restoreToCount(saveCount);
        } else {
            drawable.draw(canvas);
        }
    }
A basic View wrapper of {@link MaterialMenuDrawable}. Used
for custom view ActionBar or other layouts
library/src/main/java/com/balysv/materialmenu/MaterialMenuView.java