- Posts: 16
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Adding layout to end of document and scroll it all
10 years 10 months ago #9813
by sofien
Adding layout to end of document and scroll it all was created by sofien
I want to add a custom layout to the end of the document is that possible to dow with native android widgets such as adding a page that include checkbox. i want it to be extended to original view and scroll naturally with its content. example : adding a form to the end of document.
10 years 10 months ago #9814
by Davide
Replied by Davide on topic Adding layout to end of document and scroll it all
Hi,
can you please better explain your needs?
Do you want to make these edits inside the pdf or under the view that contains the reader?
can you please better explain your needs?
Do you want to make these edits inside the pdf or under the view that contains the reader?
10 years 10 months ago #9815
by sofien
Replied by sofien on topic Adding layout to end of document and scroll it all
I want to add a layout to the pdf viewer after the last page. this layout should be scrollable with the content of the document as a new page. so when the user scroll the document, he wiil not notice that there is a new layout , but it will show when he scroll the document at the end. says that i have a document with 2 pages , and i add the layout that contain for example a form done with android xml , the user scroll all the content as if there is a document with 3 pages. I want to extend the pdf document with a custom scroll layout. but the document is not a ViewGroup or something that i can extend like an android native widget. Is there a solution or something that i can do.
10 years 10 months ago #9816
by Davide
Replied by Davide on topic Adding layout to end of document and scroll it all
Hi,
I suggest you to use a ViewPager. You can open in each page of the ViewPager a page of your pdf and in the last page (pdf_number_of_page + 1) you can add your custom xml view.
In the RDPDFReader there is a class called PDFPagerAct that is an example of ViewPager with pdf.
Next week we will publish the stable version of RDPDFReader.
If you want an example using the PDFReader module I invete you to write a new support ticket : www.radaeepdf.com/support/tickets?view=ticket&layout=open
I suggest you to use a ViewPager. You can open in each page of the ViewPager a page of your pdf and in the last page (pdf_number_of_page + 1) you can add your custom xml view.
In the RDPDFReader there is a class called PDFPagerAct that is an example of ViewPager with pdf.
Next week we will publish the stable version of RDPDFReader.
If you want an example using the PDFReader module I invete you to write a new support ticket : www.radaeepdf.com/support/tickets?view=ticket&layout=open
10 years 10 months ago #9817
by sofien
Replied by sofien on topic Adding layout to end of document and scroll it all
I am using the PDFViewVert class. I can't use view-pager because i want the document to scroll smoothly and not paginate. is there a possibility to extend this class so it scroll smoothly from up to down like viewing a pdf document on web. i tried to extend the class but nothing is possible to do. what should i do instead
Time to create page: 0.441 seconds