title: Bottom menu overlaps content in Android
body: <p>I have problem with BottomNavigationViewEx: menu overlaps the bottom part of my activity. I wanted to fix that by adding bottom margin to my content (in that case in ScrollView), but I don't know what is the actual height of BottomNavigationViewEx menu, and even if I would know it, I'm not sure if it is the same (in dp) in all devices. Below my code:</p>
  
  <pre><code> &lt;android.support.constraint.ConstraintLayout
      ...
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;ScrollView
          ...
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"&gt;
          &lt;!--
          ...
          content of my activity
          ...
          --&gt;
      &lt;/ScrollView&gt;
  
      &lt;RelativeLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"&gt;
          &lt;com.ittianyu.bottomnavigationviewex.BottomNavigationViewEx
              android:id="@+id/bottom_navigation"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              ...
              app:menu="@drawable/main_menu"/&gt;
      &lt;/RelativeLayout&gt;
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>
  
  <p>How to make the content of my scroll view shorter, to avoid overlaping with bottom menu?</p>