title: Res not found in BottomNavigationView (AndroidX)
body: <p>I was trying to migrate my code to AndroidX. But the new <code>BottomNavigationView</code> is not initialising properly. I am getting the following Exception during layout inflation.</p>
  
  <blockquote>
    <p>Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x0
            at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:216)
            at android.content.res.Resources.getColorStateList(Resources.java:1043)
            at android.content.Context.getColorStateList(Context.java:642) </p>
    
    <p>E/AndroidRuntime:     at
    androidx.appcompat.content.res.AppCompatResources.getColorStateList(AppCompatResources.java:67)
            at com.google.android.material.bottomnavigation.BottomNavigationMenuView.createDefaultColorStateList(BottomNavigationMenuView.java:467)
            at com.google.android.material.bottomnavigation.BottomNavigationMenuView.(BottomNavigationMenuView.java:101)
            at com.google.android.material.bottomnavigation.BottomNavigationMenuView.(BottomNavigationMenuView.java:86)
            at com.google.android.material.bottomnavigation.BottomNavigationView.(BottomNavigationView.java:123)
            at com.google.android.material.bottomnavigation.BottomNavigationView.(BottomNavigationView.java:114)2018-12-04 19:37:28.699 4450-4450/com.myapp</p>
  </blockquote>
  
  <p>My xml looks like this</p>
  
  <pre><code>&lt;com.google.android.material.bottomnavigation.BottomNavigationView
      android:id="@+id/bottom_navigation"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@android:color/white"
      app:itemHorizontalTranslationEnabled="false"
      app:itemIconTint="@color/home_bottom_nav_menu_item_color"
      app:itemTextColor="@color/home_bottom_nav_menu_item_color"
      app:layout_constraintBottom_toBottomOf="parent"
      app:menu="@menu/home_bottom_nav_menu" /&gt;
  </code></pre>
  
  <p>Is there some change in the BottomNavigationView library that I am missing?</p>