Introduction - If you have any usage issues, please Google them yourself
Android Ringtones settings module source code, label switching event handler, add the listener, to obtain the initial volume of the phone, and initialize the progress bar to obtain the initial mode, and icon set to increase and decrease the volume, mute and vibration state implementation calculate the switching time.