title: How to center buttons in BottomNavigationView?
body: <p>I updated the implementaion for navigation in my project, and the buttons in the bottom menu are stretched across the entire width. How do I get them back to be in the middle?</p>
  <p>Also, now, for some reason, when you click on these buttons, the effect of pressing is stretched in gray in a rectangular shape throughout the size of the button, rather than as before, beautiful, round. Photo attached, what I meant</p>
  <pre><code>&lt;com.google.android.material.bottomnavigation.BottomNavigationView
          android:id=&quot;@+id/bottomMenu&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;78dp&quot;
          android:layout_alignParentBottom=&quot;true&quot;
          app:itemIconTint=&quot;@color/bottom_navigation_items_color&quot;
          app:itemTextAppearanceActive=&quot;@style/BottomNavigationViewTextStyle&quot;
          app:itemTextAppearanceInactive=&quot;@style/BottomNavigationViewTextStyle&quot;
          app:itemTextColor=&quot;@color/bottom_navigation_items_color&quot;
          app:labelVisibilityMode=&quot;labeled&quot;
          app:menu=&quot;@menu/bottom_navigation_menu&quot; /&gt;
  </code></pre>
  <p>Here problems:
  <a href="https://i.stack.imgur.com/7r5ll.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p><a href="https://i.stack.imgur.com/joLr9.png" rel="nofollow noreferrer">enter image description here</a></p>