RadaeePDF.com :: Topic: Transparent page curl (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Transparent page curl

Transparent page curl 3 years 2 months ago #7096

  • Depzai
  • Depzai's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 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: 3 years 2 months ago by Linksoft.
The topic has been locked.

Transparent page curl 3 years 2 months ago #7097

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 709
  • Thank you received: 49
  • Karma: 18
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 3 years 2 months ago #7099

  • Depzai
  • Depzai's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 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.
Powered by Kunena Forum