You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the above code, whenever I change the tab, the image changes from inactive to active, causing the flickering to occur. I think it looks awkward. Is there a way to fix it?
The text was updated successfully, but these errors were encountered:
I think, you mean fade animation between normal and selected icon state. Am i right? Try not use "selectedIcon" method. This way, fade animation doesn't start, but you will have only one icon state.
tab.kt code :
and xml code :
When I run the above code, whenever I change the tab, the image changes from inactive to active, causing the flickering to occur. I think it looks awkward. Is there a way to fix it?
The text was updated successfully, but these errors were encountered: