WaveView
WaveView copied to clipboard
In the class WiveView. The function computeWaveToTop should use getMeasuredHeight() to get height
In the class WiveView in the function computeWaveToTop should use getMeasuredHeight() to get height. If user getHeight() maybe get height is 0.
computeWaveToTop is called in onWindowFocusChanged, so this should not be a problem.