1) Avoid hiding the topbar:
in PDFViewController add this line at the end of the constructor
m_bar_cmd.BarShow(); // start with bar shown
Comment out every line m_bar_cmd.BarHide();
so that the bar is never hidden
2) Print is a generic View in the "more" layout
btn_print = moreLayout.findViewById(R.id.print);
You can move it everywhere you want in the layout.
In PDFViewController, update its assignment accordingly, i.e if you move it to the topbar
btn_print = layout.findViewById(R.id.print);