title: Change background color Bottom Bar android
body: <p>I have a problem in my Android project. 
  I can't change the color of the bottombar. <br/>
  This is how I want my bottombar to look:
  <a href="https://i.stack.imgur.com/5ZRP0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5ZRP0.jpg" alt="wanted Like this"></a></p>
  
  <p><strong>This is my code</strong></p>
  
  <p><strong>menu > tabhost_bottom.xml</strong></p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
  
  &gt;
  &lt;item
      android:id="@+id/home_item"
      android:icon="@drawable/ic_home"
      android:color="@color/colorPrimary"
      android:title="Home"
      /&gt;
  &lt;item
      android:id="@+id/setting_item"
      android:icon="@drawable/ic_setting"
      android:color="@color/colorPrimary"
      android:title="Setting" /&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>HomeActivity.java</strong></p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_home);
  
      coordinatorLayout = (CoordinatorLayout) findViewById(R.id.tabhost_activity);
  
      BottomBar bottomBar = BottomBar.attach(this, savedInstanceState);
      bottomBar.setItemsFromMenu(R.menu.tabhost_bottom, new OnMenuTabSelectedListener() {
          @Override
          public void onMenuItemSelected(int itemId) {
  
          }
      });
  
      // Set the color for the active tab. Ignored on mobile when there are more than three tabs.
      bottomBar.setActiveTabColor("#55a8e5");
  
      // Use the dark theme. Ignored on mobile when there are more than three tabs.
      bottomBar.setBackgroundColor(Color.parseColor("#55a8e5"));
      // Use custom text appearance in tab titles.
      //bottomBar.setTextAppearance(R.style.MyTextAppearance);
  
      // Use custom typeface that's located at the "/src/main/assets" directory. If using with
      // custom text appearance, set the text appearance first.
      //bottomBar.setTypeFace("MyFont.ttf");
  }
  </code></pre>
  
  <p>and this my reference</p>
  
  <p><a href="http://androidgifts.com/build-android-material-design-bottom-navigation/" rel="nofollow noreferrer">http://androidgifts.com/build-android-material-design-bottom-navigation/</a></p>