I'm using a **Service** that displays a view using `WindowManager`, and animation occurs every time I change the view's size using

```
windowManagerLayoutParams.height = newHeight;
((WindowManager) getSystemService(WINDOW_SERVICE)).updateViewLayout(mMainLayout, windowManagerLayoutParams);

```

If I disable manually the scale animations, no animation occurs.
Scale animation disabled manually like so:
<http://www.cultofandroid.com/11143/android-4-0-tip-how-to-find-and-disable-animations-for-a-snappier-experience/>

**Is there a way to disable the window scale animations for my application programmatically?**