title: Scroll a View and refresh content
body: <p>I use the following user interface:</p>
  
  <ul>
  <li><p>A parent relative layout <code>parentLayout</code> with the dimensions 800x600 (width x height)</p></li>
  <li><p>A second relative layout <code>childLayout</code>, which is a child of the parent layout.
  It has the dimensions 800x1000, i.e. it is larger than the parent layout.</p>
  
  <pre><code>parentLayout.addView(childLayout);
  </code></pre></li>
  </ul>
  
  <p>My goal: Scrolling <code>childLayout</code> by using <code>childLayout.scrollTo(x,y)</code>.</p>
  
  <p>When I use <code>childLayout.scrollTo(x,y)</code>, Android scrolls <code>childLayout</code> but doesn't refresh (redraw) it. The effect is, that <code>childLayout</code> is cut to the same dimensions as <code>parentLayout</code>.</p>
  
  <p>Unfortunately, the following solutions don't solve the problem:</p>
  
  <pre><code>childLayout.scrollTo(x,y);
  childLayout.invalidate();
  childLayout.requestLayout();
  </code></pre>
  
  <p>Any ideas how to solve this problem?</p>