Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Open as Fragment 5 years 11 months ago #13754

  • app2U
  • app2U's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Hi,

I'm trying to change my current fragment, for the pdf viewer. I need to open the pdf in a fragment and change it for the current fragment. How I can do that? As I could see the pdf viewer it is allways open as a activity.

Thank you

Please Log in or Create an account to join the conversation.

Open as Fragment 5 years 11 months ago #13759

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you can place PdfLayoutView where you want as it is a view and you can use it as you want.

Even in the demo project this view is used in an xml file, please check pdf_layout.xml and PDFViewAct where it is called.
The following user(s) said Thank You: app2U

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum