Getting a View's position
<p>I'd like to get the distance of a View from the top of a device's screen.</p>

<p>I'm using animations to do some things with my Activity and I need an Animation to begin at a certain point.  This is a TranslateAnimation and it is given a distance to travel in terms of percentages.</p>

<p>Ex:</p>

<pre><code>Animation animation = new TranslateAnimation(
                Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.0f,
                Animation.RELATIVE_TO_PARENT, 0.1f, Animation.RELATIVE_TO_PARENT, 0.0f
            );
</code></pre>

<p>The above code is used to animate a view starting at 10% below the top of the screen and moving it upwards until it aligned with the top of the screen.</p>

<p>For my purposes, the value 0.1f can't be hard coded because the exact value needed may change with different devices.  I need a way to determine what dynamic value I should use in place of 0.1f.  This value should be the distance from the top of the screen a another specific View is.</p>

<p>So, basically, what I'm wanting is a way to take an existing View on the screen and determine how far it is from the top of the screen.</p>
