本文简单记录由View绘制转为SurfaceView绘制的波形图问题. 上代码: public class VoiceLineView extends View { private final int LINE = 0; private final int RECT = 1; private int middleLineColor = Color.BLACK; private int voiceLineColor = Color.BLACK; private float middleLineHe