title: Add item dynamically in listview
body: <p>I have a linear layout include a list view and a edit text which is below the listview. Then, I put all of them in a scrollview. I want  add item for the listview dynamically. If there is only listview, everything is fine. However, when I add the edit text below the listview, the height of the listview doesn't change although I use adapter.notifyDataSetChanged() function. I want when I put item in the listview, the edit text is also pushed down. What can I solve my issue? Thanks</p>
  
  <p>My layout is quite simple like this</p>
  
  <pre><code>&lt;LinearLayout
   android:layout_width="fill_parent"
   android:layout_height="wrap_content"
   android:orientation="vertical"/&gt;
  
   &lt;ScrollView
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"&gt;
  
     &lt;ListView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
     &lt;/ListView&gt;
  
     &lt;EditText
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="example"&gt; 
  
     &lt;/EditText&gt;
   &lt;/ScrollView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>UPDATE MY DETAIL DESIGN
  <img src="https://i.stack.imgur.com/6yI6k.jpg" alt="enter image description here"></p>