title: Android gridview and custom header
body: <p>I'm struggeling implementing the following GUI:</p>
  
  <p><img src="https://i.stack.imgur.com/mQvUz.png" alt="enter image description here"></p>
  
  <p>For the 9 elements below the redline (everything under the line should be scrollable) I used a gridview layout which is working as intented. But actually I have no Idea how I make the Header.</p>
  
  <p>My xml so far:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:paddingBottom="@dimen/activity_vertical_margin"
     android:paddingLeft="@dimen/activity_horizontal_margin"
     android:paddingRight="@dimen/activity_horizontal_margin"
     android:paddingTop="@dimen/activity_vertical_margin"
     android:background = "@drawable/t"
     tools:context=".AppStarter" &gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      android:gravity="center"&gt;
      &lt;GridView 
          android:id="@+id/gridview"
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content"
          android:numColumns="3"
          android:verticalSpacing="10dp"
          android:horizontalSpacing="10dp"
          android:stretchMode="columnWidth"
          android:gravity="center"
          android:layout_marginLeft="2sp"
          android:layout_marginRight="5sp"
          android:layout_marginTop="0sp" /&gt;
   &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>My Idea was to add an additional linearLayout over the gridview, but the this approach didn't deliver the expected results. Any Ideas how I could implement this header?</p>
  
  <p>Thanks in advance!</p>