textView.setText(" AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD");
OR
Read it from a file like this
for (String line : Files.readAllLines(Paths.get("/path/to/file.txt")))
{
// ...
}
Save the output in a string, Then just show it using textView.setText("x");
for more information , read this
EDIT
You will need to learn about ScrollView
or HorizontalScrollView
if your text is more than the size of the screen. Also use this , don't forget to set a string ID for the textView.