Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e7ba93f

Browse files
authored
Update PDFView.java
1 parent 4f77803 commit e7ba93f

File tree

1 file changed

+2
-1
lines changed
  • android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer

1 file changed

+2
-1
lines changed

android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/PDFView.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,8 @@ protected void onDraw(Canvas canvas) {
551551

552552
Drawable bg = getBackground();
553553
if (bg == null) {
554-
canvas.drawColor(Color.WHITE);
554+
int col=Color.argb(255,168, 168, 168);
555+
canvas.drawColor(col);
555556
} else {
556557
bg.draw(canvas);
557558
}

0 commit comments

Comments
 (0)