Code example for ScrollView

Methods: setVisibility

0
        if (mConformanceMode) {
            if (mTextView != null) {
                mTextView.setVisibility(visible ? View.VISIBLE : View.GONE);
            } 
        } else if (mScrollText != null) {
            mScrollText.setVisibility(visible ? View.VISIBLE : View.INVISIBLE);
        } 
    } 
 
    public void setVideoVisibility(boolean visible) {
        if (mVideoView != null) {
            if (mConformanceMode) {
                mVideoView.setVisibility(visible ? View.VISIBLE : View.GONE);
            } else { 
                mVideoView.setVisibility(visible ? View.VISIBLE : View.INVISIBLE);
            } 
        } 
    } 
 
    public void startAudio() { 
        if ((mAudioPlayer != null) && mIsPrepared) {