It is necessary to put different colors for each tab, in the repository it is shown how to make if there are more than 3, and I have 3, help to implement. Or, if not possible with this repo then advise another, thank you.
public class MainActivity extends AppCompatActivity { BottomBar bottomBar; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); bottomBar = BottomBar.attach(this, savedInstanceState); bottomBar.setItemsFromMenu(R.menu.bottom_bar_menu, new OnMenuTabClickListener() { @Override public void onMenuTabSelected(@IdRes int menuItemId) { if (menuItemId == R.id.bb_menu_recents) { } } @Override public void onMenuTabReSelected(@IdRes int menuItemId) { if (menuItemId == R.id.bb_menu_recents) { } } }); } protected void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); bottomBar.onSaveInstanceState(outState); } }
you need like this:
