@Override
    protected void onSizeChanged(int w, int h, int oldw, int oldh) {
        super.onSizeChanged(w, h, oldw, oldh);

        // Cache the view bounds.
        mCachedBounds.set(0, 0, w, h);
    }
General view initialization used common to all constructors of the view.
app/src/main/java/home/smart/fly/animations/ui/activity/demos/TouchHighlightImageButton.java