Fixed using of Drawable API - implemented methods getIntrinsicWidth(), getIntrinsicHeight(); re-implemented method draw().