To implement the zoom on double tap, please check
How to handle doubleTap gesture with zoomIn and zoomOut?
zoom in/ zoom out buttons, is not implemented, but you can add it as a custom implementation (based on your requirements), and the event that you should call to zoom in/out is:
m_layout.vZoomSet(vx, vy, m_layout.vGetPos(0,0), zoom);
for examples, check PDFLayoutView
top and bottom spacing, it depends on the view mode you are using and the pages size:
The default behavior, is to fit the page scale based on the document's largest page size, and use this scale for all the pages.
If you are using the dual mode (view mode = 6), the scale is calculated based on the dual page size(to fit page both horizontally and vertically), in this case you may see a top/bottom margin, if eliminated the page won't fit the screen width, and you will need to scroll horizontally to see all the page content.
You can though align the page to the top (eliminating the top margin), by changing the following in
PDFLayoutView.
PDFSetView:
layout.vSetLayoutPara(null, paras, m_rtol, false);
To
layout.vSetLayoutPara(null, paras, m_rtol, true);