android – adjusting the 'offset' of a toolbar menu-ThrowExceptions

Exception or error:

Is there any way to adjust the (‘offset’) position of a ToolBar menu (screenshot below)? I have a specific requirement to use the ToolBar to display the Title and the Menu for my header (the title and menu have to be aligned). I was able to change the size of the Title text by adding a custom style to the titleTextAppearance but I’ve tried just about everything to manipulate the position of the menu, but no luck.

Any ideas?

enter image description here

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *