Currently not any option for A5 in my library. I will add option for A5 size soon.
If you want to implement in your app just download my library and import in your project as a library.
Go the class PdfView - >change this code
.setMediaSize(PrintAttributes.MediaSize.ISO_A4) to .setMediaSize(PrintAttributes.MediaSize.ISO_A5)
// it is also depend on your width, height so change this as per your requirement.
.setResolution(new PrintAttributes.Resolution("pdf", "pdf", 600, 600))
Currently not any option for A5 in my library. I will add option for A5 size soon. If you want to implement in your app just download my library and import in your project as a library. Go the class PdfView - >change this code .setMediaSize(PrintAttributes.MediaSize.ISO_A4) to .setMediaSize(PrintAttributes.MediaSize.ISO_A5)
// it is also depend on your width, height so change this as per your requirement. .setResolution(new PrintAttributes.Resolution("pdf", "pdf", 600, 600))
It will work.
Let me know if you are facing any issue. Thanks,