摘要:
具体做法是仿照系统的RockAudioPlayer,我也是通过查看源码,然后把它简化出来,更容易于应用。通过自定义一个RepeatingImageButton,当然这个名字可以自己更改,RepeatingImageButton里的代码可以查看RockAudioPlayer的源码,我这里只给出经过简化过的java代码。 1 public class MainActivity extends Activity { 2 /** Called when the activity is first created. edit by etgyd*/ 3 private RepeatingImageBut. 阅读全文