Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.actionbarsherlock.internal.nineoldandroids.widget;
 
 
 public class NineHorizontalScrollView extends HorizontalScrollView {
     private final AnimatorProxy mProxy;
 
    public NineHorizontalScrollView(Context context) {
        super(context);
         = . ? AnimatorProxy.wrap(this) : null;
    }
    @Override
    public void setVisibility(int visibility) {
        if ( != null) {
            if (visibility == ) {
                clearAnimation();
            } else if (visibility == ) {
                setAnimation();
            }
        }
        super.setVisibility(visibility);
    }
    public float getAlpha() {
        if (.) {
            return .getAlpha();
        } else {
            return super.getAlpha();
        }
    }
    public void setAlpha(float alpha) {
        if (.) {
            .setAlpha(alpha);
        } else {
            super.setAlpha(alpha);
        }
    }
New to GrepCode? Check out our FAQ X