I want to add a clickable icon/button to the left of the title in the action bar . How to do it? Following is the code with which I have added search and setting icon to the act
You can do the following:
1- create your file_name.xml then Add Toolbar.
Toolbar
2- add RelativeLayout inside the Toolbar's tag.
RelativeLayout
3- add your views i.e.(ImageButton,TextView,...)
ImageButton
TextView
Note: The TextView you are adding is the title of Toolbar.
Sample Code: file_name.xml
Output: