StringBuffer buffer = new StringBuffer(); for (int i = 0; i < 10; i++) { buffer.append(LOREM_IPSUM); } return buffer;
super.onCreate(savedInstanceState); final RegionView group = new RegionView(this); final TextView text = new TextView(this); text.setText(buildText()); group.addView(text); setContentView(group);