title: Android: Applying an animation to a view creates RuntimeException
body: <p>I am setting an animation on my view from following the ApiDemo example (see layout_grid_fade.html):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;gridLayoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
          android:rowDelay="50%"
          android:directionPriority="column"
          android:animation="@anim/fade" /&gt;
  </code></pre>
  
  <p>and below is my code</p>
  
  <pre><code>mView.startAnimation(AnimationUtils.loadAnimation(ViewModel.this, R.anim.layout_grid_fade));
  mView.setImage(modelImages.get(0).image);
  </code></pre>
  
  <p>but i get exception dont know why? below is my log trace</p>
  
  <pre><code>FATAL EXCEPTION: main
  java.lang.RuntimeException: Unknown animation name: gridLayoutAnimation
      at android.view.animation.AnimationUtils.createAnimationFromXml(AnimationUtils.java:116)
      at android.view.animation.AnimationUtils.createAnimationFromXml(AnimationUtils.java:83)
      at android.view.animation.AnimationUtils.loadAnimation(AnimationUtils.java:64)
      at nick.kimK.ViewModel$1$1.run(ViewModel.java:72)
      at android.os.Handler.handleCallback(Handler.java:587)
      at android.os.Handler.dispatchMessage(Handler.java:92)
      at android.os.Looper.loop(Looper.java:123)
      at android.app.ActivityThread.main(ActivityThread.java:4627)
      at java.lang.reflect.Method.invokeNative(Native Method)
      at java.lang.reflect.Method.invoke(Method.java:521)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
      at dalvik.system.NativeStart.main(Native Method)
  </code></pre>