[Android] View added to PDFViewCtrl is partly invisible at the bottom of the screen

Q: I have added to the PDFViewCtrl, using addView(view), a RelativeLayout with a background color and scrolled the page so that the layout will appear partly in the screen at the bottom. By doing that I see that the view is partly invisible. There is no Tool manager active in this control.

A: The problem with the view being partly invisible is related to the scrollbar. To avoid that, you can set the scrollbar style using PDFViewCtrl.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY).