Skip to content

Commit

Permalink
[BottomNavigationView] Update max item count to 6
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 650353790
  • Loading branch information
imhappi authored and paulfthomas committed Jul 8, 2024
1 parent a9debc7 commit 3fbb198
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
* href="https://material.io/components/navigation-bar/overview">design guidelines</a>.
*/
public class BottomNavigationView extends NavigationBarView {
private static final int MAX_ITEM_COUNT = 5;
private static final int MAX_ITEM_COUNT = 6;

public BottomNavigationView(@NonNull Context context) {
this(context, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
*/
@RestrictTo(LIBRARY_GROUP)
public abstract class NavigationBarMenuView extends ViewGroup implements MenuView {
private static final int ITEM_POOL_SIZE = 5;
private static final int ITEM_POOL_SIZE = 7;
private static final int NO_PADDING = -1;

private static final int[] CHECKED_STATE_SET = {android.R.attr.state_checked};
Expand Down

0 comments on commit 3fbb198

Please sign in to comment.