Hi.
I use this library in my application (https://github.com/N3-M3-S1S/green_dictionary) and found one strange behavior: i start application and there are no items in both lists (fresh install, for example, or after i clear both lists) , then i change orientation to landscape and add an item to the list and update badge's text, but a badge does not appear, however i can see how an icon moves a bit. If i do same things in portrait orientation everything works fine.
In short: if i update a badge's text first time in landscape orientation the badge does not appear, but icon moves a bit.
I also tried to set app:tabGravity="fill" and app:tabMode="fixed" and a badge appeared but its animation was kind of bugged.
Class where i update badges' text: https://github.com/N3-M3-S1S/green_dictionary/blob/master/app/src/main/java/com/rektapps/greendictionary/view/MainActivity.java
Layout file where i use badgedtablayout: https://github.com/N3-M3-S1S/green_dictionary/blob/master/app/src/main/res/layout/main_view.xml
Hi.
I use this library in my application (https://github.com/N3-M3-S1S/green_dictionary) and found one strange behavior: i start application and there are no items in both lists (fresh install, for example, or after i clear both lists) , then i change orientation to landscape and add an item to the list and update badge's text, but a badge does not appear, however i can see how an icon moves a bit. If i do same things in portrait orientation everything works fine.
In short: if i update a badge's text first time in landscape orientation the badge does not appear, but icon moves a bit.
I also tried to set
app:tabGravity="fill"andapp:tabMode="fixed"and a badge appeared but its animation was kind of bugged.Class where i update badges' text: https://github.com/N3-M3-S1S/green_dictionary/blob/master/app/src/main/java/com/rektapps/greendictionary/view/MainActivity.java
Layout file where i use badgedtablayout: https://github.com/N3-M3-S1S/green_dictionary/blob/master/app/src/main/res/layout/main_view.xml