DImuthuUpe / AndroidPdfViewer

Android view for displaying PDFs rendered with PdfiumAndroid
Apache License 2.0
8.13k stars 1.89k forks source link

Add Shadow to Pages #1015

Open Hamza417 opened 3 years ago

Hamza417 commented 3 years ago

It is advisable to add elevation shadows to the rendered pages. The pages are not visible and distinguishable if both PDF and the background is white. You can work around over this situation by setting a light gray color to the background, but that is still does not solve all visibility problems.

Expected Output

image

Current Output

image

1stmetro commented 3 years ago

Thats a interesting ideal, I currently draw between pages rather than a background colour as i didnt like the flashing colour before loading the pdf,

Never thought about a page shadow but certainly worth looking at.