How to convert Android View to PDF

前端 未结 4 755
日久生厌
日久生厌 2020-12-10 12:21

I have created an Android Invoice app. The generated invoice is standard Android layout with nested views. I am looking for a library that I can use to convert this view to

4条回答
  •  孤街浪徒
    2020-12-10 12:55

    You can use a custom library such as https://github.com/HendrixString/Android-PdfMyXml. I prefer this library than any other method. Just Go through these.

    but there is another way - How to convert Android View to PDF - that generate a pdf that contains bitmap of your layout

提交回复
热议问题