Why not just use one TextView
and append text to it in each loop iteration. Something like
TextView tv2;
tv2 = new TextView(context);
tv2.setLayoutParams(layoutParams);
for(int i = 0; i < count; i++) { //count is defined at runtime when the
//array strings[] is created
//and defines the amount of array's values
if (i > 0)
tv2.append(" \n" + strings[i]);
else
tv2.setText(strings[i]);
}
scrollView.addView(scrollViewLayout);