Factor into a method
```java
protected void animateView(View view, float endAlpha);
```