Code example for ProgressBar

Methods: setEnabled

0
    public void setEnabled(boolean enabled) {
        if (mPauseButton != null) {
            mPauseButton.setEnabled(enabled);
        } 
        if (mProgress != null) {
            mProgress.setEnabled(enabled);
        } 
 
        super.setEnabled(enabled);
    } 
 
    public interface MediaPlayerControl { 
        void    start(); 
        void    pause(); 
        int     getDuration(); 
        int     getCurrentPosition(); 
        void    seekTo(int pos);
        boolean isPlaying(); 
        int     getBufferPercentage(); 
    };