BottomNavigationViewEx icon indicating copy to clipboard operation
BottomNavigationViewEx copied to clipboard

Too long titles disappear after tapping on a item

Open JohnMars25 opened this issue 7 years ago • 3 comments

Hello, thanks for your library, its great. However I have a problem with latest version. I have a 5 items placed in bottom menu, one with long text as title. After tapping on this item, last part of text disappears. Dou you know, how it can be improvved? Thank you.

JohnMars25 avatar Oct 05 '18 15:10 JohnMars25

Hello, I've also experienced this issue on my app. The solution I used was to disable the animation on the bottom navigation using this codes:

bnve.enableAnimation(false); bnve.enableShiftingMode(false); bnve.enableItemShiftingMode(false);

Before the update, it was working fine for me. I have to disable the animation and shifting mode since I need to display both the icon and label. I hope they can fix this issue soon or have another alternative to my answer.

TopeMateo avatar Oct 16 '18 04:10 TopeMateo

Hello, thanks for your library, its great. However I have a problem with latest version. I have a 5 items placed in bottom menu, one with long text as title. After tapping on this item, last part of text disappears. Dou you know, how it can be improvved? Thank you.

did you find a solution?

MrVlad001 avatar Oct 18 '18 08:10 MrVlad001

@JohnMars25 , I found a solution. Try this

for(int i = 0 ; i < bottomNavigation.getItemCount(); i++ ){
            TextView view = bottomNavigation.getLargeLabelAt(i);
            view.setPadding(0,0,0,0);
}

MrVlad001 avatar Oct 18 '18 09:10 MrVlad001