Android navigation drawer: center menu vertically in NavigationView
<p>I am using NavigationView from the <code>android.support.design</code> library.
I want to make it's menu be vertically centered. </p>

<p>So, instead of the default alignement...</p>

<p><a href="https://i.stack.imgur.com/sXXMc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sXXMc.png" alt="enter image description here"></a></p>

<p>... I want it to look something like this:</p>

<p><a href="https://i.stack.imgur.com/TYK9u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TYK9u.png" alt="enter image description here"></a></p>

<p>From what I could see there are no layout attributes in <code>NavigationView</code>that would help me achieve this. I tried with <code>android:foregroundGravity="center_vertical"</code> but had no luck.</p>

<p>Does anybody know of a way to solve this without having to change <code>NvigationView</code> for a different layout?</p>