title: How to scroll the edittext inside the scrollview
body: <p>I have a scrollview inside which there is a editext which is <strong>multiline</strong>. I want to scroll the edittext to see the lower content but it can't be done.</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;LinearLayout
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      android:orientation=&quot;vertical&quot; &gt;
      &lt;LinearLayout
          android:layout_width=&quot;fill_parent&quot;
          android:layout_height=&quot;50dp&quot;
          android:background=&quot;@android:color/holo_blue_light&quot;
          android:gravity=&quot;center&quot; &gt;
          &lt;TextView
              android:id=&quot;@+id/textView1&quot;
              android:layout_width=&quot;wrap_content&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:text=&quot;View Complaint&quot;
              android:textAppearance=&quot;?android:attr/textAppearanceLarge&quot; /&gt;
      &lt;/LinearLayout&gt;
      &lt;ScrollView
          android:layout_width=&quot;fill_parent&quot;
          android:layout_height=&quot;fill_parent&quot; &gt;
          &lt;LinearLayout
              android:layout_width=&quot;fill_parent&quot;
              android:layout_height=&quot;fill_parent&quot;
              android:orientation=&quot;vertical&quot;
              android:padding=&quot;20dp&quot; &gt;
              &lt;TextView
                  android:id=&quot;@+id/textView2&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;15dp&quot;
                  android:text=&quot;Order Number 0100C1&quot;
                  android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot; /&gt;
              &lt;TextView
                  android:id=&quot;@+id/textView3&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;5dp&quot;
                  android:text=&quot;Name of ClientClient 1&quot;
                  android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot; /&gt;
              &lt;TextView
                  android:id=&quot;@+id/textView4&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;5dp&quot;
                  android:text=&quot;Subject : Measurement Issues&quot;
                  android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot; /&gt;
              &lt;TextView
                  android:id=&quot;@+id/textView5&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;25dp&quot;
                  android:text=&quot;Description&quot;
                  android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot; /&gt;
              &lt;TextView
                  android:id=&quot;@+id/textView6&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;15dp&quot;
                  android:text=&quot;Lorem ipsum dolor sit amet, sapien etiam, nunc amet dolor ac odio mauris justo. Luctus arcu, urna praesent at id quisque ac. Arcu massa vestibulum malesuada, integer vivamus el/ eu &quot;
                  android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot; /&gt;
              &lt;LinearLayout
                  android:layout_width=&quot;fill_parent&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:orientation=&quot;horizontal&quot; &gt;
                  &lt;TextView
                      android:id=&quot;@+id/textView7&quot;
                      android:layout_width=&quot;wrap_content&quot;
                      android:layout_height=&quot;wrap_content&quot;
                      android:layout_marginTop=&quot;2dp&quot;
                      android:text=&quot;Assign to&quot;
                      android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot; /&gt;
                  &lt;Spinner
                      android:id=&quot;@+id/spinner1&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;40dp&quot;
                      android:entries=&quot;@array/array_name&quot; /&gt;
              &lt;/LinearLayout&gt;
              &lt;EditText
                  android:id=&quot;@+id/editText1&quot;
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;200dp&quot;
                  android:layout_marginTop=&quot;15dp&quot;
                  android:background=&quot;#eeeeee&quot;
                  android:inputType=&quot;textMultiLine&quot;
                  android:singleLine=&quot;false&quot;
                  android:text=&quot;Android applications normally run entirely on a single thread by              default the “UI thread” or the “main thread”.
          
              android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot; &gt;&lt;/EditText&gt;
              &lt;TextView
                  android:id=&quot;@+id/textView5&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;20dp&quot;
                  android:text=&quot;Comment History&quot;
                  android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot; /&gt;
              &lt;ImageView
                  android:id=&quot;@+id/imageView1&quot;
                  android:layout_width=&quot;fill_parent&quot;
                  android:layout_height=&quot;147dp&quot;
                  android:src=&quot;@drawable/adddd&quot; /&gt;
              &lt;CheckBox
                  android:id=&quot;@+id/checkBox1&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;10dp&quot;
                  android:text=&quot;Close Complaints&quot;
                  android:textAppearance=&quot;?android:attr/textAppearanceLarge&quot; /&gt;
              &lt;Button
                  android:id=&quot;@+id/login&quot;
                  style=&quot;?android:attr/buttonStyleSmall&quot;
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;45dp&quot;
                  android:layout_below=&quot;@+id/ll&quot;
                  android:layout_marginLeft=&quot;20dp&quot;
                  android:layout_marginRight=&quot;20dp&quot;
                  android:layout_marginTop=&quot;15dp&quot;
                  android:background=&quot;@drawable/login_btn&quot;
                  android:text=&quot;Submit&quot;
                  android:textColor=&quot;@android:color/holo_blue_dark&quot;
                  android:textSize=&quot;25dp&quot;
                  android:textStyle=&quot;bold&quot; /&gt;
          &lt;/LinearLayout&gt;
      &lt;/ScrollView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  <p><img src="https://i.stack.imgur.com/x2VNV.png" alt="enter image description here" /></p>
  <p>Can you guys help me in that . I think editText is getting the focus when cursor is inside it.</p>
  <p>Thanks..!!!!!</p>