float inactiveSize = resources.getDimension(R.dimen.bottom_navigation_text_size_inactive);
int activePaddingTop = (int) resources.getDimension(R.dimen.bottom_navigation_margin_top_active);
if (titleActiveTextSize != 0 && titleInactiveTextSize != 0) {
activeSize = titleActiveTextSize;
inactiveSize = titleInactiveTextSize;
<BUG>} else if (forceTitlesDisplay && items.size() > MIN_ITEMS) {
activeSize = resources.getDimension(R.dimen.bottom_navigation_text_size_forced_active);</BUG>
inactiveSize = resources.getDimension(R.dimen.bottom_navigation_text_size_forced_inactive);
}
for (int i = 0; i < items.size(); i++) {

float inactiveSize = resources.getDimension(R.dimen.bottom_navigation_text_size_inactive);
int activePaddingTop = (int) resources.getDimension(R.dimen.bottom_navigation_margin_top_active);
if (titleActiveTextSize != 0 && titleInactiveTextSize != 0) {
activeSize = titleActiveTextSize;
inactiveSize = titleInactiveTextSize;
} else if (titleState == TitleState.ALWAYS_SHOW && items.size() > MIN_ITEMS) {
activeSize = resources.getDimension(R.dimen.bottom_navigation_text_size_forced_active);
inactiveSize = resources.getDimension(R.dimen.bottom_navigation_text_size_forced_inactive);
}
for (int i = 0; i < items.size(); i++) {
