title: ScrollView doesn't work
body: <p>It should be easy I know!!! I watched tutorial, searched for approx. 2 hours and tried like 15 different methods (maybe more) and still can't get it to work.</p>
  
  <p><strong>In my app when I focus/select EditText and keyboard pops out I can't scroll down to input other text</strong></p>
  
  <p><strong>AndroidManifest.xml</strong> > <strong>activity</strong> set to <strong>android:windowSoftInputMode="adjustPan"</strong></p>
  
  <p>here is the <strong>layout>main.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent" &gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@drawable/bg"
      android:orientation="vertical"
      android:padding="20dp" &gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="10dp" &gt;
  
          &lt;TextView
              android:id="@+id/txtProduct1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Produkt 1"
              android:textColor="#FFFFFF"
              android:textSize="28dp"
              android:textStyle="bold" /&gt;
  
          &lt;TextView
              android:id="@+id/txtInfo1"
              android:layout_width="wrap_content"
              android:layout_height="fill_parent"
              android:layout_marginLeft="5dp"
              android:gravity="right"
              android:text="cena / hmot: 0 eur"
              android:textAppearance="?android:attr/textAppearanceSmall"
              android:textColor="#EEEEEE"
              android:width="140dp" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;EditText
          android:id="@+id/txtPrice1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="5dp"
          android:layout_marginTop="10dp"
          android:ems="10"
          android:hint="Cena"
          android:inputType="numberDecimal" &gt;
      &lt;/EditText&gt;
  
      &lt;EditText
          android:id="@+id/txtWeight1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="20dp"
          android:ems="10"
          android:hint="Hmotnosť"
          android:inputType="numberDecimal" /&gt;
  
      &lt;ImageView
          android:id="@+id/imgResult"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center_horizontal"
          android:src="@drawable/question" /&gt;
  
      &lt;EditText
          android:id="@+id/txtPrice2"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="5dp"
          android:layout_marginTop="20dp"
          android:ems="10"
          android:hint="Cena"
          android:inputType="numberDecimal" /&gt;
  
      &lt;EditText
          android:id="@+id/txtWeight2"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="5dp"
          android:ems="10"
          android:hint="Hmotnosť"
          android:inputType="numberDecimal" /&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content" &gt;
  
          &lt;TextView
              android:id="@+id/txtInfo2"
              android:layout_width="wrap_content"
              android:layout_height="fill_parent"
              android:layout_marginRight="5dp"
              android:text="cena / hmot: 0 eur"
              android:textAppearance="?android:attr/textAppearanceSmall"
              android:textColor="#EEEEEE"
              android:width="140dp" /&gt;
  
          &lt;TextView
              android:id="@+id/txtProduct2"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Produkt 2"
              android:textColor="#FFFFFF"
              android:textSize="28dp"
              android:textStyle="bold" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;Button
          android:id="@+id/btnOK"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center_horizontal"
          android:layout_marginTop="15dp"
          android:height="80dp"
          android:text="OK"
          android:textColor="#264865"
          android:textSize="24dp"
          android:textStyle="bold"
          android:width="160dp" /&gt;
   &lt;/LinearLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>