title: Populating ScrollView with TextViews, Android Eclipse
body: <p>Here is a segment from my .xml layout file:</p>
  
  <pre><code>&lt;ScrollView 
  android:layout_width = "match_parent"
  android:layout_height = "300dp" &gt;
      &lt;TextView
          android:id="@+id/statementdatetv"
          android:layout_width="61dp"
          android:layout_height="300dp"
          android:text="DATE"
          android:textSize="10dp" /&gt;
  
  
      &lt;TextView
          android:id="@+id/statementlocationtv"
          android:layout_width="95dp"
          android:layout_height="300dp"
          android:text="LOCATION" android:textSize="10dp"/&gt;
  
  
      &lt;TextView
          android:id="@+id/statementshoptypetv"
          android:layout_width="95dp"
          android:layout_height="300dp"
          android:text="SHOPTYPE" android:textSize="10dp"/&gt;
  
      &lt;TextView
          android:id="@+id/statementpricetv"
          android:layout_width="fill_parent"
          android:layout_height="300dp"
          android:text="PRICE" android:layout_weight="1" android:textSize="10dp"/&gt;
      &lt;/ScrollView&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>The TextViews inside the ScrollView are to be populated from an SQL database. Everything worked fine before the ScrollView was added in, but afterwards it just came up with an error?</p>
  
  <p>Unfortunately I don't know which error, is it just not possible to populate the values from an SQL database into a TextView which is inside a ScrollView?</p>
  
  <p>The reason why I want to have a ScrollView is because a lot of Data could be outputted, and I want it to all be on the same page, therefore a ScrollView was the perfect (or so I thought) solution!</p>
  
  <p>Thanks!</p>