java - How do you display a large amount of text in an Android layout? -
i need display terms , conditions pdf in layout. not essential actual pdf
displayed. is, need text within pdf displayed correctly, in paragraphs.
using textviews
seems obvious option; however, feel both copy pasting each paragraph different textview or copy-pasting 1 , writing out \n
escape sequence after every paragraph take long (it long document)... not mention have manually put in html tags bold words.
so how can display large amount of text in layout without having manually hardcode of paragraphs? thought there support display pdf, after research looks that's not possible if user's device doesn't have pdf reader installed?
i think multiline scrollable textview job you. can set size of text view fixed, half screen if want, , user can scroll in portion. see making textview scrollable on android
Comments
Post a Comment