Code example for View

Methods: getVisibilitystartAnimation

0
        startHideAnimation(mTimeBar); 
        startHideAnimation(mPlayPauseReplayView); 
    } 
 
    private void startHideAnimation(View view) {
        if (view.getVisibility() == View.VISIBLE) {
            view.startAnimation(hideAnimation);
        } 
    } 
 
    private void cancelHiding() { 
        handler.removeCallbacks(startHidingRunnable);
        mBackground.setAnimation(null); 
        mTimeBar.setAnimation(null); 
        mPlayPauseReplayView.setAnimation(null); 
    } 
 
    @Override 
    public void onAnimationStart(Animation animation) {
        // Do nothing. 
Connect your IDE to all the code out there  Get Codota for Java