title: ScrollView inside FrameLayout layout margin's issue
body: <p>I have a very weird issue with a <code>FrameLayout</code> holding a <code>ScrollView</code>. My layout looks like the following:</p>
  
  <pre><code>&lt;FrameLayout
     android:layout_width="match_parent"
     android:layout_height="match_parent"&gt;
     &lt;ScrollView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:layout_marginTop="50dp"&gt;
        &lt;LinearLayout
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             android:orientation="vertical"&gt;
       &lt;/LinearLayout&gt;
     &lt;/ScrollView&gt;
  
     &lt;...
     /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>The issue that I have is with the: <code>layout_marginTop</code> attribute on the <code>ScrollView</code>tag. It doesn't apply the same way accross different devices. For instance, on a Nexus S (running ICS) it is interpreted correctly by adding some space at the of the screen, but on another (Galaxy S2 running Gingerbread) it creates space at the bottom of the screen rather than the top of screen.</p>
  
  <p>Any idea?</p>
  
  <p>Thanks!</p>
  
  <p><strong>[EDIT]</strong></p>
  
  <ul>
  <li><p>It seems that the problem is common to all devices running an Android version lower than 3.0.</p></li>
  <li><p>Thanks for noticing those non-sense extra attributes, it appears they were here because that <code>FrameLayout</code> used to be wrapped inside <code>LinearLayout</code> before.</p></li>
  </ul>