title: android custom view with shape and glow
body: <p>I am trying to create a new custom view in android. The view is an animated circle which should support 3 statuses and the animation of transitions between them:
  1. not selected - empty circle.
  2. selected - full circle.
  3. selected and glowing - full circle with "light" coming out of it (to some radius).
  I have tried creating it the following way:
  I have extended FrameLayout, and created 3 members called unselsected, selected and glow. I created 3 xml files accordingly one has an empty circle, the second has a filled circle and the third, for now also contains an full circle even though it should contain the "light". </p>
  
  <p>The animations are done by the use of ObjectAnimator on the alpha. Switching between unselected and selected works great.</p>
  
  <p>The two problems:
  1. How do I create the "light"?
  2. The size of the circles is always determined by the biggest image. How do I change that?</p>