I think you know how to add an imageView to your ToolBar if you don't check this one . After that, get a link to your ToolBar using findViewById
Toolbar tool = finViewById(R.id.mytoolbar);//cast it to ToolBar ImageView im1 = tool.findViewById(R.id.myimageviewone); // cast it //same for the others // now you can set your click listeners //in your onclick listeners you use fragmentmanager along with fragmenttransaction //to start a new fragment in your layout or on your layout, you can google // for that
Elltz source share