Android create and print pdf from layout view

前端 未结 4 2006
梦毁少年i
梦毁少年i 2021-01-12 13:36

I am trying to create PDF file from xml layout view. I have a listview in that layout, adding items and setting height based on child. PDF is creating but not filling the wh

4条回答
  •  广开言路
    2021-01-12 14:34

    Try to convert your layout into image then set that image to PDF. read this, maybe you will get some idea. Convert view to PDF

提交回复
热议问题