title: How can I add more than 5 items to bottomNavigationBar?
body: <p><em>Hi all, I am developing android news app it is possible to increase items to 5 when I have added fifth Menu item. It is giving this exception java.lang.RuntimeException: Unable to start activity ComponentInfo{yodgobekkomilov.edgar.com.worldnews/yodgobekkomilov.edgar.com.worldnews.MainActivity}: java.lang.RuntimeException: List of NavigationPage must contain 4 members.</em></p>
  
  <p>below my code from MainActivity</p>
  
  <pre><code>public class MainActivity extends BottomBarHolderActivity implements AllJazeeraFragment.OnFragmentInteractionListener, BBCFragment.OnFragmentInteractionListener, CNNFragment.OnFragmentInteractionListener, CBCNewsFragment.OnFragmentInteractionListener {
  
  //    private ApiService apiService;
  public static final String url_key = "urlKey";
  public ArrayList&lt;Article&gt; articleList = new ArrayList&lt;&gt;();
  
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      // getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
  
      Article article = new Article(Parcel.obtain());
      article.setUrl(article.getUrl());
      Intent i = new Intent(this, DetailActivity.class);
      i.putExtra("urlKey", article);
  // // using the (String name, Parcelable value) overload!
  // startActivity(i);
  
      NavigationPage page1 = new NavigationPage("AllJazeera", ContextCompat.getDrawable(this, R.drawable.alljazeera), AllJazeeraFragment.newInstance());
      NavigationPage page2 = new NavigationPage("BBC", ContextCompat.getDrawable(this, R.drawable.bbc_icon), CNNFragment.newInstance());
      NavigationPage page3 = new NavigationPage("CNN", ContextCompat.getDrawable(this, R.drawable.cnn_icon), AllJazeeraFragment.newInstance());
      NavigationPage page4 = new NavigationPage("CBC", ContextCompat.getDrawable(this, R.drawable.cbc_icon), CBCNewsFragment.newInstance());
      NavigationPage page5 = new NavigationPage("Menu", ContextCompat.getDrawable(this, R.drawable.icon_menu), Menu.newInstance());
      List&lt;NavigationPage&gt; navigationPages = new ArrayList&lt;&gt;();
      navigationPages.add(page1);
      navigationPages.add(page2);
      navigationPages.add(page3);
      navigationPages.add(page4);
      navigationPages.add(page5);
      super.setupBottomBarHolderActivity(navigationPages);
  }
  
  
  public void onClicked() {
      Toast.makeText(this, "Clicked!", Toast.LENGTH_SHORT).show();
  }
  </code></pre>
  
  <p>I am using this <a href="https://github.com/adib2149/BottomNavBar" rel="nofollow noreferrer">library</a></p>
  
  <p>I know it holds only 4 items  but there should other options host fifth items there.</p>