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

        createShader();
    }
Set horizontal size of wave according to <code>waveLengthRatio</code>

@param waveLengthRatio Default to be 1.
                       Ratio of wave length to width of WaveView.
library/src/main/java/com/gelitenight/waveview/library/WaveView.java