title: Android - Get the visible area of a view?
body: <p>Suppose I have an Android <code>View</code> that is being partially masked by another <code>View</code>.  For instance, imagine that the masking view has a transparent rectangular "window" in the center of it, and my view is centered beneath the window and possessing dimensions that are larger than the dimensions of the window.  In such a case, some rectangular portion of the view will be visible, with the rest being obscured by the mask.  </p>
  
  <p>So my question is, is there any straightforward way to retrive the position and dimensions of the visible area <em>without</em> having any access to the masking view itself (so without knowing how big the mask's "window" itself is)?  </p>
  
  <p>I tried calling <code>getLocalVisibleRect()</code>, which sounded promising, but that only seems to return the view's layout rectangle and <em>not</em> the rectangle that is actually visible.</p>