Q: How can I remove the save button from the toolbar in QPDFNotesView?

A: Please see the below sample code for removing the “save” button. The relevant line of code is below:

qpdfNotesView.getToolbar().removeView(qpdfNotesView.getToolbar().getIbSave());
package com.qoppa;
 
import android.app.Activity;
import android.os.Bundle;
import com.qoppa.notes.QPDFNotesView;
 
public class RemoveSaveButtonActivity extends Activity 
{
	public QPDFNotesView qpdfNotesView;
 
	protected void onCreate(Bundle bundle)
	{
		super.onCreate(bundle);
 
		qpdfNotesView = new QPDFNotesView(this);
		qpdfNotesView.setActivity(this);
		setContentView(qpdfNotesView);
 
		qpdfNotesView.getToolbar().removeView(qpdfNotesView.getToolbar().getIbSave());
	}
}