I need to display a Terms and Conditions pdf in a layout. It is not essential for the actual PDF
to be displayed. That is, I just need the text within the pdf to be displayed correctly, in paragraphs.
Using TextViews
seems like the obvious option; however, I feel like both copy pasting each paragraph into a different TextView or copy-pasting it all into one and writing out the \n
escape sequence after every paragraph will take too long (it is a very long document)... not to mention I will have to manually put in html tags for all the bold words.
So how can I display a large amount of text in a layout without having to manually hardcode all of the paragraphs? I thought there would be some support to display a pdf, but after some research it looks like that that's not possible if the user's device doesn't have a pdf reader installed?