How to adjust toolbar color on BottomSheet expand slide
I'm using bottom sheet on my screen. Also here i have appbar which is transparent. When i expand my bottom sheet it's expand to appbar height. But the problem is - my appbar still transparent. I want to animate of fading this color into black when bottom sheet expanding to fullscreen and make it transparent again when bottom sheet is half expanded. I have callbacks on slide of bottom sheet:
private fun addBottomSheetCallback(bottomSheetBehavior: BottomSheetBehavior) {...