title: Android: Bottom Navigation View - change icon of selected item
body: <p>I have added <code>BottomNavigationView</code> in my application like. </p>
  
  <p><strong>main.xml</strong></p>
  
  <pre><code>&lt;android.support.design.widget.BottomNavigationView
          android:id="@+id/bottom_navigation"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          app:itemBackground="@color/colorPrimary"
          app:itemIconTint="@color/white"
          app:itemTextColor="@color/white"
          app:menu="@menu/bottom_navigation_main" /&gt;
  </code></pre>
  
  <p><strong>bottom_navigation_main.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"&gt;
      &lt;item
          android:id="@+id/action_favorites"
          android:enabled="true"
          android:icon="@drawable/ic_favorite_white_24dp"
          android:title="@string/text_favorites"
          app:showAsAction="ifRoom" /&gt;
      &lt;item
          android:id="@+id/action_schedules"
          android:enabled="true"
          android:icon="@drawable/ic_access_time_white_24dp"
          android:title="@string/text_schedules"
          app:showAsAction="ifRoom" /&gt;
      &lt;item
          android:id="@+id/action_music"
          android:enabled="true"
          android:icon="@drawable/ic_audiotrack_white_24dp"
          android:title="@string/text_music"
          app:showAsAction="ifRoom" /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p><strong>MainActivity click</strong></p>
  
  <pre><code>bottomNavigationView.setOnNavigationItemSelectedListener(
          new BottomNavigationView.OnNavigationItemSelectedListener() {
              @Override
              public boolean onNavigationItemSelected(@NonNull MenuItem item) {
                  switch (item.getItemId()) {
                      case R.id.action_favorites:
                          //need change icon of favotites here.
                      case R.id.action_schedules:
  
                      case R.id.action_music:
  
                  }
                  return true;
              }
          });
  </code></pre>
  
  <p>I want to change the icon of the bottom navigation of selected position. How can we achieve this feature when user click one item?</p>
  
  <p>(if user clicked one item then the icon change to another one)</p>