private void createClassicItems(LinearLayout linearLayout) {
LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
float height = resources.getDimension(R.dimen.bottom_navigation_height);
float minWidth = resources.getDimension(R.dimen.bottom_navigation_min_width);
float maxWidth = resources.getDimension(R.dimen.bottom_navigation_max_width);
<BUG>if (forceTitlesDisplay && items.size() > MIN_ITEMS) {
minWidth = resources.getDimension(R.dimen.bottom_navigation_small_inactive_min_width);</BUG>
maxWidth = resources.getDimension(R.dimen.bottom_navigation_small_inactive_max_width);
}
int layoutWidth = getWidth();

private void createClassicItems(LinearLayout linearLayout) {
LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
float height = resources.getDimension(R.dimen.bottom_navigation_height);
float minWidth = resources.getDimension(R.dimen.bottom_navigation_min_width);
float maxWidth = resources.getDimension(R.dimen.bottom_navigation_max_width);
if (titleState == TitleState.ALWAYS_SHOW && items.size() > MIN_ITEMS) {
minWidth = resources.getDimension(R.dimen.bottom_navigation_small_inactive_min_width);
maxWidth = resources.getDimension(R.dimen.bottom_navigation_small_inactive_max_width);
}
int layoutWidth = getWidth();
