Open razvan-ursu opened 6 years ago
Same problem here. Have you solved it?
Same here. Anyone?
Nope... l used them even if they are deprecated
It's not working like it should here. Maybe its something else, gonna try.
Em seg, 22 de out de 2018 às 10:25, ursurazvanclaudiu < notifications@github.com> escreveu:
Nope... l used them even if they are deprecated
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ittianyu/BottomNavigationViewEx/issues/135#issuecomment-431834809, or mute the thread https://github.com/notifications/unsubscribe-auth/Akrbv8wBptA1Hrsc4MyU7SVtbb-nehavks5unccugaJpZM4XNRxF .
-- Gustavo Contreiras +55 21 99556 7025
I also don't know why! Still using it, but really don't know an alternative for it. Any news?
use
nav.setLabelVisibilityMode(1); // for enableShiftingMode(false) nav.setItemHorizontalTranslationEnabled(false); // for enableItemShiftingMode(false)
It worked for me.
setLabelVisibilityMode(LabelVisibilityMode.LABEL_VISIBILITY_LABELED); tabBottom.setItemHorizontalTranslationEnabled(false);
see: package com.google.android.material.bottomnavigation;
...
@Retention(RetentionPolicy.SOURCE) public @interface LabelVisibilityMode { int LABEL_VISIBILITY_AUTO = -1; int LABEL_VISIBILITY_SELECTED = 0; int LABEL_VISIBILITY_LABELED = 1; int LABEL_VISIBILITY_UNLABELED = 2; }
any luck on this ?
use
nav.setLabelVisibilityMode(1); // for enableShiftingMode(false) nav.setItemHorizontalTranslationEnabled(false); // for enableItemShiftingMode(false)
It worked for me.
Do we have any new methods for text size? App crashed when changing TextSize
enableItemShiftingMode(boolean) is deprecated.... I really don't understand why