https://kotlinlang.org logo
#android
Title
# android
a

Apex

06/06/2020, 12:46 PM
I am facing this flickering/text resizing in toolbar while using navigation component. Anyone know how I can solve this ? https://del.dog/unerrycyhi.txt contains the code I am using and layout XML.
r

Ryan

06/06/2020, 1:56 PM
I would fix the height of the toolbar.
and delay the progress bar by like 100 milliseconds
a

Apex

06/06/2020, 5:18 PM
@Ryan apparently the issue was that since I am using different toolbars in each fragment layout , they get animated into the view as said in documentation https://developer.android.com/guide/navigation/navigation-ui#support_app_bar_variations
i

Ian Lake

06/06/2020, 6:58 PM
Sounds like a good use case for a shared element transition
4 Views