title: Check multiple items on Navigation Bar
body: <p>I have a BottomNavigationBar with 4 items and I want multiple items to be checkable. I know that this bar is used for navigating through activities but I want more than 1 item to be <code>chackable</code></p>
  
  <p>If not checkable at least change the text color or the icon color of items individually instead of changing them as a whole</p>
  
  <p>Code</p>
  
  <pre><code>final BottomNavigationView bottomNavigation = findViewById(R.id.bottom_navigation);
          bottomNavigation.getMenu().setGroupCheckable(0, true, true);
          BottomNavigationView.OnNavigationItemSelectedListener navigationItemSelectedListener =
                  new BottomNavigationView.OnNavigationItemSelectedListener() {
                      @Override public boolean onNavigationItemSelected(@NonNull MenuItem item) {
                          switch (item.getItemId()) {
                              case R.id.vpn:
  
                              bottomNavigation.getMenu().findItem(R.id.home).setVisible(false);
                              bottomNavigation.getMenu().findItem(R.id.home).setChecked(true);
                              bottomNavigation.getMenu().findItem(R.id.theme).setTitle("ON");
                              Toast.makeText(getApplicationContext(),"VPN",Toast.LENGTH_SHORT).show();
                                  return true;
  
                              case R.id.incognito:
                                  Toast.makeText(getApplicationContext(),"Private",Toast.LENGTH_SHORT).show();
                                  return true;
  
                              case R.id.theme:
                                  Toast.makeText(getApplicationContext(),"Theme",Toast.LENGTH_SHORT).show();
                                  return true;
                              case R.id.home:
  
                                  Toast.makeText(getApplicationContext(),"Home",Toast.LENGTH_SHORT).show();
                                  return true;
                          }
                          return false;
                      }
                  };
  bottomNavigation.setOnNavigationItemSelectedListener(navigationItemSelectedListener);
  </code></pre>
  
  <p><strong>xml code</strong></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:layout_alignParentBottom="true"
  android:background="@color/black"
  android:theme="@style/BottomNavigationTheme"
  app:labelVisibilityMode="labeled"
  app:menu="@menu/bottom_navigation_menu"/&gt;
  </code></pre>
  
  <p><strong>Style.xml</strong></p>
  
  <pre><code>&lt;style name="BottomNavigationTheme" parent="Theme.AppCompat.Light"&gt;
      &lt;item name="colorPrimary"&gt;@color/white&lt;/item&gt;
      &lt;item name="android:textColorSecondary"&gt;@color/white&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>