Code example for ScrollView

Methods: setVisibility

0
        } 
    } 
 
    public void setTextVisibility(boolean visible) {
        if (mScrollText != null) {
            mScrollText.setVisibility(visible ? View.VISIBLE : View.INVISIBLE);
        } 
    } 
 
    public void setVideoVisibility(boolean visible) {
        if (mVideoView != null) {
            mVideoView.setVisibility(visible ? View.VISIBLE : View.INVISIBLE);
        } 
    } 
 
    public void startAudio() { 
        if ((mAudioPlayer != null) && mIsPrepared) {
            mAudioPlayer.start();
            mStartWhenPrepared = false;
            displayAudioInfo(); 
        } else {