title: how to create a bouncable scrollview with header in android?
body: <p>I want a bouncable scrollview (iPhone like) in my project. I find some articles about <em>overscroll</em> and use it like <a href="https://stackoverflow.com/questions/7470267/how-to-create-bouncable-scrollview-in-android">This class here</a>. But i dont know how to set over scroll view as its header.</p>
  
  <p>I also tried adding a view simply before my custom scroll view but it didn't work (codes at the end).</p>
  
  <p>I need a view attached to scrollview how can i do this? any idea will be grateful.</p>
  
  <pre><code>&lt;LinearLayout 
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentTop="true"
      android:background="#FF8080"
      &gt;
      &lt;ImageView 
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"/&gt;
  &lt;/LinearLayout&gt;
  &lt;com.amix.tstsrc.MyScrollView
      android:id="@+id/my_scrollView"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_centerHorizontal="true"
      android:layout_centerVertical="true" 
      &gt;
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:background="#8585FF"&gt;
          &lt;TextView
              android:id="@+id/help_text"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textColor="@android:color/white" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/com.amix.tstsrc.MyScrollView&gt;
  </code></pre>