自定义的WaveView:
如图想用WaveView当父类控件里面放其他控件,现在这么做直接报错:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zyq.waveview/com.zyq.waveview.MainActivity}: java.lang.ClassCastException: com.zyq.waveview.WaveView cannot be cast to android.view.ViewGroup
不知能否实现