How do I find out if window animations are enabled in settings
<p>I know, I can start the Settings-Activity with</p>

<pre><code>Intent intent = new Intent(Settings.ACTION_DISPLAY_SETTINGS);
startActivityForResult(intent,1);
</code></pre>

<p>But how do I know if the animations are enabled in the first place?</p>

<p>I have an animation inside a custom view and only want to show it, if the animations are enabled in the settings. If they are disabled, I'd like to ask the user to enable them the first time he starts the application.</p>
