Forum Xamarin.Android

Toolbar - Hamburger menu width / menu buttons width

Currently I am using Toolbar from Support library V7 in my Android project. I am having problems centering the ImageView inside (meaning centre is width of the screen / 2). I suspect it might be because of the programatically added menu buttons on the right.

Is there any way how to get their width?
Is it possible to get the hamburger menu width as well?
I haven't really found a reliable way how to centre the image. It always gets a offset. Even though I try to set paddingLeft on the imageView to centre it with formula "SCREEN SIZE / 2 + IMAGEVIEW.WIDTH / 2" it doesn't produce satisfying results.

Sign In or Register to comment.