private void positionMatrix() {
        mMatrix.preScale(0.25f, 0.25f);
        mMatrix.postScale(4.0f, 4.0f);
        mMatrix.preTranslate(-getWidth() / 2, -getHeight() / 2);
        mMatrix.postTranslate(getWidth() / 2, getHeight() / 2);
    }
Enable a hardware layer for the view.

@param v
@param drawWithLayer
app/src/main/java/home/smart/fly/animations/customview/flipview/FlipView.java