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

TOPIC:

Transparent page curl 9 years 7 months ago #7096

  • Depzai
  • Depzai's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Hello,
Currently I'm developing a pdf reader that support page curling. I'm trying to get the page curl (the solid white part) to be transparent (Please see the attached image below). So how can I achieve this?
lh5.googleusercontent.com/juF2mm6xtB-XZ2...A-IIUbuMY=w1896-h835
Thanks
Dan
Last edit: by Linksoft.
The topic has been locked.

Transparent page curl 9 years 7 months ago #7097

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
You need to change back_color in PDFReader.PDFOpen:
case 2:
   m_view = new PDFViewCurl(this.getContext());
   back_color = android.R.color.transparent;
   break;
The topic has been locked.

Transparent page curl 9 years 7 months ago #7099

  • Depzai
  • Depzai's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Replacing back_color didn't help, as the curling part is still solid. Please have a look at this link below, I think you might have a better understanding of what I'm trying to archive

lh6.googleusercontent.com/Lp7FhbWJj1RX2W...I3n4msans=w1896-h835

Thanks :)
The topic has been locked.
  • Page:
  • 1
Powered by Kunena Forum