title: Is there a way to animate (rotating) my application item within a layer-list definition?
body: <p>Currently I have the following drawable (<code>splash.xml</code>) definition:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;item
          android:drawable="@color/grey_300"/&gt;
  
      &lt;item&gt;
          &lt;bitmap
              android:gravity="center"
              android:src="@mipmap/ic_launcher"/&gt;
      &lt;/item&gt;
  
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>I'm using that for a splash screen by defining an activity as follows:</p>
  
  <pre><code>    &lt;activity
          android:name=".SplashActivity"
          android:label="@string/app_name"
          android:theme="@style/SplashTheme"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN"/&gt;
              &lt;category android:name="android.intent.category.LAUNCHER"/&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p>That style comes from <code>styles.xml</code>:</p>
  
  <pre><code>&lt;style name="SplashTheme" parent="Theme.AppCompat.NoActionBar"&gt;
      &lt;item name="android:windowBackground"&gt;@drawable/splash&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>, I was wondering if I could some how animate the logo centered on screen (maybe rotating it). What would be the best way to reach it? I already tried to play a bit with <code>animated-rotate</code> inside <code>item</code> element but no success until now.</p>