The view mode can be set at the time the QPDFViewerView is constructed. See below sample for how to set it initially, it is not possible to change it while viewing a document with our current API. If the view mode is null, QPDFViewerView.VIEW_MODE.VERTICAL_CONTINUOUS is used.

package com.qoppa;
 
import android.app.Activity;
import android.os.Bundle;
 
import com.qoppa.notes.QPDFNotesView;
import com.qoppa.viewer.QPDFViewerView;
 
 
public class ViewModeSample extends Activity 
{
	public QPDFNotesView notes;
 
	protected void onCreate(Bundle bundle)
	{
		super.onCreate(bundle);
 
		// view mode is set when the view is constructed
 
                // set view mode to horizontal single page 
		notes = new QPDFNotesView(this, QPDFViewerView.VIEW_MODE.HORIZONTAL_SINGLE);
 
		//  set view mode to horizontal continuous viewing
		notes = new QPDFNotesView(this, QPDFViewerView.VIEW_MODE.HORIZONTAL_CONTINUOUS);
 
		// set view mode to vertical continuous viewing
		notes = new QPDFNotesView(this, QPDFViewerView.VIEW_MODE.VERTICAL_CONTINUOUS);
 
                notes.setActivity(this);
 
		setContentView(notes);
 
	}
 
}