String text = "This is a long text."; String longText = "First text."; for (int i = 0; i < 300; i++) { longText = longText + " " + text; } longText = longText + " Last text."; params.addTextView(longText, -1.0f).addPaddingToScrollView(50, 50);