I want to add image view on action bar right hand side.I tried to do that but i couldn\'t. Can anyone help me?
This is my image view xml
You don't need an ImageView for this. Using a new item using Icon for your image will be the smartest solution.
Add this item to your menu.xml:
Instantiate the menu in onCreateOptionsMenu and implement it in onOptionsItemSelected.
onCreateOptionsMenu
onOptionsItemSelected