title: List view hide in emulator
body: <p>I try to write a to-do list app using <code>ListView</code>. But there is a problem when I use the keyboard on my phone and try to add something to the list the first elements are not visible. After I add 3 or 4 elements, I am able to see the to-do list items. How I can adjust the listview that it won't go up when I use the keyboard.</p>
  <p>Here is the XML code</p>
  <pre><code>    &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;android.support.constraint.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      tools:context=&quot;.MainActivity&quot;&gt;
  
      &lt;ListView
          android:id=&quot;@+id/listView&quot;
          android:layout_width=&quot;0dp&quot;
          android:layout_height=&quot;450dp&quot;
          android:layout_marginStart=&quot;32dp&quot;
          android:layout_marginLeft=&quot;32dp&quot;
          android:layout_marginTop=&quot;32dp&quot;
          android:layout_marginEnd=&quot;32dp&quot;
          android:layout_marginRight=&quot;32dp&quot;
          android:focusableInTouchMode=&quot;false&quot;
          android:isScrollContainer=&quot;false&quot;
          app:layout_constraintBottom_toTopOf=&quot;@+id/editText&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintHorizontal_bias=&quot;0.0&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toTopOf=&quot;parent&quot;
          app:layout_constraintVertical_bias=&quot;0.403&quot; /&gt;
  
      &lt;Button
          android:id=&quot;@+id/button&quot;
  
          android:layout_width=&quot;60dp&quot;
          android:layout_height=&quot;60dp&quot;
          android:layout_marginStart=&quot;8dp&quot;
          android:layout_marginLeft=&quot;8dp&quot;
          android:layout_marginEnd=&quot;16dp&quot;
          android:layout_marginRight=&quot;16dp&quot;
          android:layout_marginBottom=&quot;73dp&quot;
          android:background=&quot;@drawable/custom_button&quot;
          android:onClick=&quot;add&quot;
          android:text=&quot;+&quot;
          android:textSize=&quot;40sp&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toEndOf=&quot;@+id/editText&quot; /&gt;
  
      &lt;EditText
          android:id=&quot;@+id/editText&quot;
          android:layout_width=&quot;0dp&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginStart=&quot;32dp&quot;
          android:layout_marginLeft=&quot;32dp&quot;
          android:layout_marginEnd=&quot;8dp&quot;
          android:layout_marginRight=&quot;8dp&quot;
          android:layout_marginBottom=&quot;75dp&quot;
          android:ems=&quot;10&quot;
          android:hint=&quot;Click to add...&quot;
          android:inputType=&quot;textPersonName&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintEnd_toStartOf=&quot;@+id/button&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot; /&gt;
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>