Lines Matching refs:bottom
32 * This demonstrates idiomatic usage of the bottom navigation widget.
42 final BottomNavigationView bottom =
44 mOriginalTint = bottom.getItemIconTintList();
48 bottom.getMenu().getItem(0).setEnabled(!bottom.getMenu().getItem(0).isEnabled());
55 if (bottom.getMenu().size() < bottom.getMaxItemCount()) {
56 MenuItem item = bottom.getMenu().add("Bananas");
65 if (bottom.getMenu().size() > 0) {
66 bottom.getMenu().removeItem(bottom.getMenu().getItem(0).getItemId());
74 if (bottom.getItemIconTintList() == null) {
75 bottom.setItemIconTintList(mOriginalTint);
77 bottom.setItemIconTintList(null);
85 final int menuSize = bottom.getMenu().size();
91 if (bottom.getMenu().getItem(i).isChecked()) {
97 bottom.setSelectedItemId(bottom.getMenu().getItem(next).getItemId());
101 bottom.setOnNavigationItemSelectedListener(
121 bottom.setOnNavigationItemReselectedListener(