AHBottomNavigationItem item = items.get(itemIndex);
View view = inflater.inflate(R.layout.bottom_navigation_small_item, this, false);
ImageView icon = (ImageView) view.findViewById(R.id.bottom_navigation_small_item_icon);
TextView title = (TextView) view.findViewById(R.id.bottom_navigation_small_item_title);
TextView notification = (TextView) view.findViewById(R.id.bottom_navigation_notification);
<BUG>icon.setImageDrawable(item.getDrawable(context));
title.setText(item.getTitle(context));
if (titleActiveTextSize != 0) {</BUG>
title.setTextSize(TypedValue.COMPLEX_UNIT_PX, titleActiveTextSize);
}

AHBottomNavigationItem item = items.get(itemIndex);
View view = inflater.inflate(R.layout.bottom_navigation_small_item, this, false);
ImageView icon = (ImageView) view.findViewById(R.id.bottom_navigation_small_item_icon);
TextView title = (TextView) view.findViewById(R.id.bottom_navigation_small_item_title);
TextView notification = (TextView) view.findViewById(R.id.bottom_navigation_notification);
icon.setImageDrawable(item.getDrawable(context));
if (titleState != TitleState.ALWAYS_HIDE) {
title.setText(item.getTitle(context));
}
if (titleActiveTextSize != 0) {
title.setTextSize(TypedValue.COMPLEX_UNIT_PX, titleActiveTextSize);
}
