title: Animate system alert type view
body: <p>is it possible to animate a system alert type view? if it's how?</p>
  
  <p>I tried this but it didn't work:</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState)
  {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      View view = new View(this);
      view.setBackgroundColor(0x33FF0000);
      Animation animation = AnimationUtils.loadAnimation(this, R.anim.blink);
      view.startAnimation(animation);
  
  
      WindowManager windowManager = (WindowManager) getSystemService(Context.WINDOW_SERVICE);
      WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(-1, -1, 2006, 1336, -3);
      windowManager.addView(view, layoutParams);
  }
  </code></pre>
  
  <p>blink.xml:</p>
  
  <pre><code>&lt;alpha
      android:interpolator="@android:anim/accelerate_decelerate_interpolator"
      android:fromAlpha="0.0"
      android:toAlpha="1"
      android:duration="500"
      android:repeatMode="reverse"
      android:repeatCount="9999999"/&gt;
  </code></pre>
  
  <p>This code adds the view to the system but it's not animated.</p>