Incorrect content height for PdfDocument
I am creating a PDF from the contents of a scrollview. Each page, however, has a blank space at the bottom. I am calculating the height based on the newAttributes passed to the onLayout method of PrintDocumentAdapter.