I searched a lot in PDF rendering but didn't get the proper answer. Tell someone tell me which library (GPL licensed) for rendering PDF and how to make this PDF file. If someone has a code sample, then it will be more useful to me.
Mupdf
http://www.mupdf.com/
MuPDF is free software: you can redistribute it and / or modify it in accordance with the Affero GNU General Public License published by the Free Software Foundation, either version 3 of the License, or (at your option) version.
Here is the link found on SO.
https://stackoverflow.com/questions/4665957/pdf-parsing-library-for-android/4766335#4766335
You have at least two options.
Android-Pdf-Viewer-library https://github.com/jblough/Android-Pdf-Viewer-Library
Mupdf http://www.mupdf.com/
See also Integrate MuPDF application into application.